[TYPO3-english] tt_content.menu.default display name first level parent page
bernd wilke
t3ng at bernd-wilke.net
Thu Feb 6 08:49:57 CET 2014
Am 05.02.14 16:09, schrieb Muriel le Pair:
> Hi,
>
> I'm trying to alter tt_content.menu.default so that it will display the
> section name + selected page in a menu.
>
> The page structure that looks like this:
>
> root
> - section1
> |_ page 1
> |_ page 2
> |_ subpage 1
> - section
> |_ page 3
> |_ page 4
> |_ subpage 2
>
> So if someone selects pages 1 and 3 it should be rendered like this:
> - section1 + page 1
> - section2 + page 3
>
> I tried the following:
>
> tt_content.menu {
>
> # HMENU option "Menu of these pages"
> 20.default {
> #special = list
> 1 {
> NO {
> stdWrap {
> htmlSpecialChars = 0
> dataWrap = <li>{leveltitle: 1}</li>
> }
> }
> }
> }
> }
>
> But leveltitle: 1 is displaying level 1 of the current page instead of
> the selected page in the menu.
>
> Anyone any suggestions?
what about a breadcrumb-menu?
special = rootline
maybe with a nice optionSplit
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-english
mailing list