Page TSconfig
The extension loads its page TSconfig automatically through
EXT:jobboard/Configuration/page.tsconfig:
- The content element "Jobboard" is added to the tab Plugins of the new content element wizard.
- The page module shows a preview of the content element with its most
important options (template
EXT:).jobboard/ Resources/ Private/ Templates/ Plugin Preview/ Jobboard. html
Clear the cache of the job board pages
Important
Add
TCEMAIN. to the page TSconfig of the
storage folder. List and detail view are cached. Without this setting,
changes in the storage folder appear on the job board pages only when
their cache expires.
# UIDs of all pages with the content element "Job board"
TCEMAIN.clearCacheCmd = 42, 87
TCEMAIN. clears the cache of the given pages
whenever a record in the storage folder is saved, deleted, hidden or
moved. This applies to:
- changes of editors in the backend,
- the job import,
- the daily command
jobboard:, which saves jobs with changed salary information with the DataHandler, see Update the effective salary of the jobs.salary: update
List all pages that contain the content element, for example the job board page and a start page with a short list of jobs. Changes of the dates of jobs (application deadline, end of employment, publish and expiration date) do not need a cache clearing, see Caching of the job list.
Recommended page TSconfig
Except for
TCEMAIN., the following snippets are
optional. Add them to the page TSconfig of the storage folder.
# Clear the cache of the pages with the job board (UIDs 42 and 87) when a
# record in this folder is saved. Must be set for the storage folder.
TCEMAIN.clearCacheCmd = 42, 87
# Salary steps are maintained inline in their salary grade
mod.web_list.hideTables := addToList(tx_jobboard_domain_model_salarystep)
# Pre-fill the validity of new salary grades (example: year 2026)
TCAdefaults.tx_jobboard_domain_model_salarygrade {
starttime = 1767225600
endtime = 1798761599
}
- Clear the cache of the list page
- Required in the page TSconfig of the storage folder, see Clear the cache of the job board pages.
- Hide salary steps in the list module
- Salary steps are maintained inside their salary grade. Hiding the table in the list module keeps the storage folder clear.
- Default validity of new salary grades
- Pre-fills start and end time of new salary grades, for example with the validity period of the current pay scale. Remember that these dates control the visibility of all jobs using the grade, see Salary tables, salary grades and salary steps.