[TYPO3-english] Add a link to the parent menu item in submenu
Philipp Holdener
philipp at holdener.ch
Fri Sep 4 16:33:16 CEST 2009
Daniel Rutzen schrieb:
> Hello,
>
> I have a horizontal main menu and a vertical submenu. In the submenu,
> there are ony the sub-items listed from the parent main menu item.
>
> Let's say I have a main menu item 'cars' and sub pages for colors.
> I've got it working that the second menu now shows the coresponding sub
> items, each in a <li></li> Tag:
>
> <li>blue cars</li>
> <li>red cars</li>
> <li>green cars</li>
>
>
> What I would like to have is, that the first <li>-Element has a link to
> the parent main menu item, and the sub items are in another <ul> within
> the parent <li>
>
> <ul>
> <li>CARS
> <ul>
> <li>blue cars</li>
> <li>red cars</li>
> <li>green cars</li>
> </ul>
> </li>
> </ul>
>
>
probably
lib.submenu = COA
lib.submenu.wrap = <ul><li>|</li></ul>
lib.submenu.10 = TEXT
lib.submenu.10.data = leveltitle:1
lib.submenu.10.insertData = 1
lib.submenu.10.typolink.parameter.data=leveluid : 1
lib.submenu.20 = HMENU
lib.submenu.20.wrap = <ul>|</ul>
lib.submenu.20.1 = TMENU
lib.submenu.20.1 {
noBlur = 1
expAll = 1
NO.wrapItemAndSub = <li>|</li>
NO.ATagTitle.field = subtitle
NO.ATagTitle.ifEmpty.field = title
NO.stdWrap.htmlSpecialChars = 1
ACT = 1
ACT.wrapItemAndSub = <li>|</li>
ACT.ATagTitle.field = subtitle
ACT.ATagTitle.ifEmpty.field = title
ACT.stdWrap.htmlSpecialChars = 1
ACT.ATagParams = class="act"
}
Greetings
Philipp
More information about the TYPO3-english
mailing list