-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
[RFC] Feature/new backend breadcrumb trail #623
[RFC] Feature/new backend breadcrumb trail #623
Conversation
| } | ||
|
|
||
| // Add the beadcrumb trail in reverse order |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: breadcrumb
c8f2f0d
to
09536d6
Compare
|
@contao/developers /cc |
|
Haven't tested it but looks neat! 👍 Thanks for contributing @agoat! I was just thinking about whether this needs to be modifiable/extensible somehow. But I haven't had the use case yet and we could still add an event later on if we want to. |
|
Thanks! A quick code review looks good to me 😎 |
cd4aa42
to
51a60f7
Compare
|
Thank you @agoat. 👍 |


This is the PR to #602 to handle unlimited child tables in the breadcumb trail.
It goes recursively through all the parent tables and trys to add the table name and the objects title or name.
If a table name is shown or not can be controlled whether there is a translation or not.
I also added a suggestion to style the table and the object names differently for a better readability.
Additionally extra translation should be added in the contao/news-bundle to show the tables name (in modules.xlf):
If someone want to see this in action, I can send the login data for my dev server via email.