Extending the job board
The extension does not dispatch own PSR-14 events yet. These extension points exist:
- Templates
- All templates, partials and layouts can be overridden, see Templates and frontend assets.
- Job sources
- New import sources are classes tagged with
api., see Connect a job source to the import.model - DataHandler hooks and events
- The import writes all records with the DataHandler, so the hooks and events of the TYPO3 Core are triggered, for example for search indexing.
- Page title
- The page title provider can be replaced with TypoScript, see Job title as page title.
- Routing
- The route enhancer can be copied into your site configuration and changed, see Speaking URLs (route enhancer).
- Logging
- All messages of the extension use the log channel
JWeiland.. Configure own writers inJobboard $GLOBALS.['TYPO3_ CONF_ VARS'] ['LOG'] ['JWeiland'] ['Jobboard']
The address model
\JWeiland\ extends
the model of EXT:tt_address and adds the map location of EXT:maps2. It is
mapped to the table
tt_ in
EXT:jobboard/Configuration/Extbase/Persistence/Classes.php.
Job properties for templates
Useful properties of
{job}
in Fluid:
{job.,salary Range Min} {job.salary Range Max} - Lowest and highest salary, for both salary modes. In salary mode
"Salary grade", these are the lowest and highest positive amount of all
steps or fixed amounts of all valid selected grades. In salary mode
"Free salary entry", the maximum falls back to the minimum if it is
empty. Use these properties instead of evaluating
{job..salary Mode} {job.has Salary Range} trueif minimum and maximum differ.{job.has Salary Information} trueif the job has any salary information.{job.,job Areas} {job.,salary Grades} {job.benefits} - All related records.
{job.andjob Area} {job.return the first record only.salary Grade} - File properties
{job.,employer Logo} {job.,header Logo} {job.andtender File} {job.are file references. They are always lists, alsopdf Files} {benefit.. Useimage} <f:to render them.for> {job.,is Import} {salaryGrade. has Steps} - Boolean values.