[TYPO3] How to make the submenu header appear?

tapio tapio.markula at dnainternet.net
Mon Jan 9 12:45:47 CET 2006


Rafael Freuler wrote:
> Hi
> 
> You could do it like this:
> 
> ## Menu [Begin]
> lib.subMenu = HMENU
> lib.subMenu.stdWrap.wrap = <h1><span>Submenu</span></h1><div 
> class="sideMenu">|</div>
> lib.subMenu.stdWrap.ifEmpty.wrap = |
> lib.subMenu.entryLevel = 1
> lib.subMenu.1 = TMENU
> lib.subMenu.1.NO {
>   allWrap = |
> }
> ## Menu [End]
> 
> Cheers,
> Rafi

can the name of submenu be dynamic on the base of datawrap.

stdWrap.datawrap...
stdWrap.ifEmpty.datawrap...
> 
> 
> Kristian Kleiveland wrote:
> 
>> How do i make the header appear only when there is an subemenu? Now I 
>> haven't got an header, and it's confusing to the users. I would like 
>> an header like this:
>> http://stor.graastein.no/fileadmin/boss/submenu.gif
>>
>> How do I set this in the TypoScript setup?
>>
>> This is the setup I've got now:
>>
>> ## Menu [Begin]
>> lib.subMenu = HMENU
>> lib.subMenu.entryLevel = 1
>>
>> lib.subMenu.1 = TMENU
>> lib.subMenu.1.NO {
>>  allWrap = |
>> }
>> ## Menu [End]
>>
>> This is from the original html file(from openwebdesign.org):
>>
>>       <h1><span>Submenu</span></h1>
>>
>>       <div class="sideMenu">
>>
>>         <a href="index.html" title="view comments 
>> version"><span>Comments Version</span></a>
>>         <a href="http://openwebdesign.org" title="visit Open Web 
>> Design"><span>Free Web Templates</span></a>
>>         <a href="http://fullahead.org" title="visit 
>> FullAhead"><span>FullAhead</span></a>
>>         <a href="http://csszengarden.com" title="visit CSS Zen 
>> Garden"><span>CSS Zen Garden</span></a>
>>         <a href="http://deviantart.com" title="visit 
>> DeviantART"><span>DeviantART</span></a>
>>
>>       </div>
>>
>> The <h1> part is what I want to include.
>>
>> How do I do this?
>>



More information about the TYPO3-english mailing list