Bug #69454
closed
Shortcut page ignores the configured url target
Added by Benjamin Serfhos about 9 years ago.
Updated over 4 years ago.
Description
Each page has a "target" configuration under "behaviour" tab. For both shortcut as default page this is configurable.
The default page works as intended, when _blank configured in target the page generates a link with _blank.
However if the page is then changed to "shortcut" to another page inside the tree, this is ignored. The targeted (shortcut) page configuration is used.
Two options available;
1) Fix the expected workflow for URL target. Force the configured page details with the shortcut id.
2) Remove the url target option in shortcut.
Problem cause by typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:6049 (in 6.2.14) which override the page configuration to the targeted page before generating the link.
I can fix this, but want to discuss which option is preferred.
Files
- Status changed from New to Needs Feedback
Hi Benjamin,
I am not able to reproduce it in both 6.2.15 and 7.5-dev (latest master); I tried with both a CE headline and using a menu CE... in both cases the target was the one of the shortcut and not of the target page.
can you check it again, or tell me how to reproduce? Thank you!
- Target version deleted (
next-patchlevel)
I reproduced it on the demo site of TYPO3 last time, but cannot reproduce it myself anymore.
Need to dig further, but found this; typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php:1343
The 'bug' can be reproduced with config.typolinkCheckRootline = 1.
The page configuration is overwritten in the check for accross domains.
TYPO3 6.2: typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:6080
TYPO3 7.6: typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:6654
- Status changed from Needs Feedback to New
- Related to Bug #67047: Cannot access shortcut target in menus added
- Related to Bug #85138: Shortcut in menu always is rendered as inactive added
- Status changed from New to Closed
Hey all,
I will close this issue now - if you feel this is still a problem, let me know and I will re-open the issue.
Also available in: Atom
PDF