General configuration
The view of the job list
The view, List, Card or Table, is an option of each content element, see Select view.
Grouping the jobs
The job list renders the jobs ungrouped. To group them, name a field of the job postings in TypoScript:
plugin.tx_academicbitejobs.settings.jobs.groupBy = department
The list then renders one group per value of that field, headed by the value,
and every job title one heading level below the group heading. The field has to
be part of the job postings, either as the B-ITE API answers them for the job
listing key of the content element, or written into them by an event listener,
see Example: a grouping by a custom field. It is not offered in the plugin
settings. An empty value, or none, switches the grouping off again.
A content element saved before version 2.1 may still store a grouping setting of
its own, which wins over the TypoScript. The upgrade wizard
academic removes it.
The header of the content element
The header and the subheader an editor enters on a Job List b-ite content element are rendered by the content element layout of the site, as for any other content element. The layouts of EXT:fluid_styled_content and of the bootstrap package do that, and the plugin renders no header of its own.
A site whose content element layout renders no header, because its element templates render it instead, lets the plugin render it:
plugin.tx_academicbitejobs.renderContentElementHeader = 1
The template then renders the header partial of EXT:fluid_styled_content above the jobs, so the switch needs that extension installed; this extension does not require it. Do not switch it on where the layout renders the header: the header then appears twice.
For the header layout Default, the partial takes the heading level
from
plugin., which
is mapped from the constant
styles. of
EXT:fluid_styled_content. A site that does not include the
TypoScript of EXT:fluid_styled_content sets the setting itself;
without it, such a header renders as an empty
<header>
element.