Job List
- CType
-
academicjobs_list - Plugin
-
Academic, pluginJobs List, actionJobController:: list Action () - Set
-
fgtclb/, or the aggregate setacademic- jobs- list fgtclb/academic- jobs - Templates
-
Templates/, with the partialsJob/ List. html Job/andItem. html Job/, see TemplatesPagination. html
The job list with three jobs per page and the navigation below them.
The job list shows the jobs of the storage folder of the site, the site
setting
plugin.. Each job
shows its title, its properties and its image. The title links to the job on
the detail page, the site setting
plugin..
The jobs are ordered by their start time, the earliest first. A job without a
start time comes before the others, and jobs with the same start time keep the
order they were created in.
It is the content element for the page that lists the open positions of an institution, all of them or those of one job type, for example a page of theses next to a page of jobs. The list is not cached with the page, so a job appears as soon as an editor publishes it and disappears when its end time has passed.
It works with:
- a Job Details content element on the detail page, which the titles link to. Without a detail page the titles link to the page of the list itself, which then shows no job.
- a Job Form content element, whose submitted jobs this list shows once an editor published them.
The list also renders the flash messages queued for the job list. The confirmation of the job form is queued for the form, not for the list, see Where the confirmation is shown.
Settings
-
- Type
- select
- Default
- None
Which jobs the list shows. None lists every job of the storage folder. Every other choice lists only the jobs of that type, which the editor chooses in the field Job Type of the job record.
After None come the types of the job record: Job, Sidejob and Thesis, and every type a project adds or removes with an event listener, see ModifyTcaSelectFieldItemsEvent.
Page TSconfig of the record field does not reach this option. A type added or removed with
addorItems removebelowItems TCEFORM.needs the same lines for the FlexForm field:tx_ academicjobs_ domain_ model_ job. type Page TSconfigTCEFORM.tx_academicjobs_domain_model_job.type.removeItems = 3 TCEFORM.tt_content.pi_flexform.academicjobs_list.sDEF.settings\.job\.type.removeItems = 3Copied!Use one list per type when a site presents them on pages of their own, and None for a single page of every open position.
Pagination
-
- Type
- checkbox
- Default
- off
Off, the list shows every job on one page. On, it shows Results per page jobs and a navigation to the other pages below them. A list that fits on one page shows no navigation.
The navigation links at most
plugin.page numbers around the current page whentx_ academicjobs. pagination. number Of Links georgringer/is installed, see Pagination of the job list. Without it, the core pagination links every page.numbered- pagination A page link carries the page as
tx_and nothing else. The job type and the switch for hidden jobs come from the content element, so every page keeps them. A page beyond the last one shows the last page, a page below one, or a value that is no number, the first.academicjobs_ list [current Page] Two job lists on the same page read the same
currentargument, so they turn their pages together. Put a second paginated list on a page of its own.Page
The navigation of a paginated job list.
-
- Type
- number
- Default
10
The number of jobs on one page of the list. The field is shown and stored whether the pagination is enabled or not, and only read while it is. A value below 1 counts as 10.