Hi Paul,

you can't get a {leveltitle} like that, you can get it for example like 
below :

lib.subMenu = COA

#the title
lib.subMenu.10 = TEXT
lib.subMenu.10.data = { leveltitle : 0}
lib.subMenu.10..wrap = <h1>|</h1>

#the menu
lib.subMenu.20 = MENU
lib.subMenu.20.entryLevel = 1
lib.subMenu.20.wrap =  <ul>|</ul>
lib.subMenu.1 = TMENU
lib.subMenu.1.NO {
allWrap =<li>|</li>
}
lib.subMenu.wrap = <div class="sub_nav">|</div>

Rachel Foucard.
http://www.w-seils.com
http://typo3-demo.fr

"Paul Rijke" <p...@rijke.org> a écrit dans le message de news: 
mailman.1502.1259237900.615.typo3-engl...@lists.typo3.org...
> Hi all,
>
> I'm developing a new template and I want a submenu, containting the 
> content
> of it's parent a the title. So I have level-0 menu-time called "Services",
> than I want the submenu to be generated as:
>
> <div class="sub_nav">
> <h1>Services</h1>
> <ul>
> <li><a href="#">Financial Services</a></li>
> <li><a href="#">Technical Services</a></li>
> </ul>
> </div>
>
> Any ideas how to typoscript this? This what I have now, which works except
> for the title. I know i have to do something with leveltitle:0 or so, but
> please bear with me:
>
> lib.subMenu = HMENU
> lib.subMenu.entryLevel = 1
> lib.subMenu.wrap = <div class="sub_nav"><h1>{ leveltitle : 0
> }</h1><ul>|</ul></div>
> lib.subMenu.1 = TMENU
> lib.subMenu.1.NO {
>  allWrap =<li>|</li>
> }
>
> Thanks in advance,
>
> Paul
> 


_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to