File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ The contao jobposting bundle adds the ability to display and maintain job offers
66
77- Compatible with Contao 4.9 and higher versions (PHP 8 Support)
88- Job-Archives and Job-Categories
9- - List- and Reader-Module to show the jobs in the Frontend
9+ - List- and Reader-Module to show the jobs in the frontend
10+ - Own content element to show a specific job in the frontend
1011- Every job has its own unique link
1112- JSON+LD is generated for its job
1213
@@ -21,3 +22,24 @@ $ composer require dreibein/contao-jobposting-bundle
2122
2223- PHP: ` >=7.4 `
2324- Contao: ` ^4.9 `
25+
26+ ## Besonderheiten
27+ Jobs werden in den Modulen und Content-Elementen nur über die \Contao\TemplateInheritance::insert() Funktion eingebunden.
28+
29+ ** Job-Display:** (Content-Element)
30+ ``` php
31+ $this->insert('template_name', $this->job);
32+ ```
33+
34+ ** Job-Reader:**
35+ ``` php
36+ $this->insert('template_name', $this->job);
37+ ```
38+
39+ ** Job-List:**
40+ ``` php
41+ foreach ($this->jobs as $job) {
42+ $this->insert('template_name', $job);
43+ }
44+ ```
45+
You can’t perform that action at this time.
0 commit comments