Bug #87923
closedMissing value of item.data.shortcut if use MenuProcessor
100%
Description
Missing value of item.data.shortcut if setup shortcut mode = 3, but if choice concrete page (shortcut mode = 0) than is everythink ok.
That is problem if you want rendering active shortcut depended selected root page or parent page.
<f:for each="{myNavigation}" as="item"> <li> <a href="{item.link}" class="{f:if(condition: item.active, then:' active')} {f:if(condition: '({item.data.doktype} == 4 && {item.data.shortcut} == {data.uid})', then: 'current')} {f:if(condition: item.current, then:' current')}" {f:if(condition: item.target, then: ' target="{item.target}"')} title="{item.title}">{item.title}</a> </li> </f:for>
Updated by Jan Návrat over 5 years ago
- Related to Bug #85138: Shortcut in menu always is rendered as inactive added
Updated by Riccardo De Contardi over 5 years ago
- Description updated (diff)
- Category set to Fluid
Updated by Riccardo De Contardi over 5 years ago
- Related to Feature #80841: MenuProcessor is missing an option to mark shorcuts as active or current added
Updated by Claus Due over 4 years ago
- Category changed from Fluid to Content Rendering
Moved to content rendering category since this is a responsibility of the DataProcessor to assign the correct value(s) and as such does not belong in the Fluid category (Fluid only receives the values, it does not create them).
Updated by Gerrit Code Review almost 3 years ago
- Status changed from New to Under Review
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72860
Updated by Gerrit Code Review almost 3 years ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72860
Updated by Gerrit Code Review almost 3 years ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72860
Updated by Gerrit Code Review almost 3 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72881
Updated by Benni Mack almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fc6cf2c9595d82b831ee1be47aea2018c6d93758.