Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I add the title of a job post to the breadcrumb menu for the detail page? #127

Open
zenoussi opened this issue Nov 2, 2023 · 3 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@zenoussi
Copy link

zenoussi commented Nov 2, 2023

Example: breadcrumb navigation
lib.breadcrumb = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor lib.breadcrumb { special = rootline special.range = 0|5 entryLevel = 0 as = breadcrumb }

Thanks a lot
Ulli

@ghost
Copy link

ghost commented Nov 24, 2023

You should do that in the fluid template, where you have access to the posting data via posting.title

@ghost ghost added the question Further information is requested label Nov 24, 2023
@zenoussi
Copy link
Author

How can this work?
Breadcrumb-/rootline menus are created with the Menu Processor (pages) and then rendered in fluid templates of pages. Within a fluid template of a page there is no output of data records such as posting data or news data (Georg Ringer). Georg Ringer, for example, solves this using his own data processor, see https://docs.typo3.org/p/georgringer/news/11.2/en-us/Tutorials/BestPractice/BreadcrumbMenu.html

@ghost
Copy link

ghost commented Nov 30, 2023

Yes you could define a seperate page layout, which renders without breadcrumb. The you can render it inside the detail page template and are totally free as to the presentation of job data.

But I see the benefit of using the DataProcessor approach. Feel free to implement this and make a PR :)

@ghost ghost added the enhancement New feature or request label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant