-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
Inserttags do not parse within the breadcrumb module #7105
Comments
{{page::pageTitle}}
for detail pages in news does not show the title within breadcrumbs anymore
it works if the breadcrumb comes after the reader |
@asaage feel free to adjust the logic and implement it for Contao. It ain't flawless and needs some tests as well: That would most likely be a feature tho |
After debugging, this happens most likely within these lines: contao/core-bundle/contao/library/Contao/InsertTags.php Lines 107 to 120 in 2c84dec
since it outputs $tags with a size of 1, thus returning a ChunkedText. |
what do you mean by that? |
Basically how far my investigation went. $tags = [
'',
'{{page::pageTitle}},
''
] Basically, the regex does not work because the expected output should look like this: $tags = [
'page',
'pageTitle',
] |
No, it looks like |
Yeah, debugged late at night so maybe a wrong conclusion |
As an addition: If you add a headline with the content https://demo.contao.org/preview.php/news/new-contao-versions-in-short-intervalls.html |
I noticed the same while using a detail-page with the reader-module from plenta/contao-jobs-basic-bundle. |
I still think that the correct solution for this issue are - in my opinion - reader pages. |
Affected version(s)
5.3.x
Description
It was common to use the insert tag
{{page::pageTitle}}
for detail pages in news to generate the page title within the breadcrumb.This seems broken in Contao 5.3.x and can even be seen in the demo when using
{{page::pageTitle}}
:https://demo.contao.org/news/new-contao-versions-in-short-intervalls.html
The text was updated successfully, but these errors were encountered: