Created
August 18, 2014 15:47
-
-
Save jrenggli/22425abb448df9d3a044 to your computer and use it in GitHub Desktop.
TYPO3 Neos: hide subItems in menu when node is not active (behaviour similar to expAll = 0 in TYPO3 CMS)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
page = Page { | |
... | |
body { | |
... | |
parts { | |
menu = Menu { | |
templatePath = 'resource://Swisscom.VorsorgeregionalbankenSite/Private/Templates/TypoScriptObjects/Menu.html' | |
attributes.class = 'nav' | |
entryLevel = 1 | |
maximumLevels = 3 | |
current.attributes.class = 'current' | |
active.attributes.class = 'active' | |
normal.attributes.class > | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment