[TYPO3-english] Creating tmenu in columns using wrap

Björn Pedersen pedersen at frm2.tum.de
Tue Aug 6 08:43:13 CEST 2013


Am 05.08.2013 21:48, schrieb JoH asenau:
> Am 05.08.2013 21:37, schrieb Sara:
>> Thanks for the help but adding:
>>
>> wrapItemAndSub = <span class="col1"> | </span> || <span class="col2"> |
>> </span> || <span class="col3"> | </span> || <span class="col4"> | </span>
>>
>> doesn't add anything at all to the source code.
> 
> It depends on where you add it ;-)
> 
> wrapItemAndSub is a parameter of TMENUITEM, so it has to be within the
> item states NO, ACT, CUR and so on ... in your case it is just necessary
> for the first level items, so this one should be working:
> 
> 1 = TMENU
> 1 {
>   NO = 1
>   NO {
>     linkWrap = <h4>|</h4>
>     doNotLinkIt = 1
>     wrapItemAndSub = <span class="col1"> | </span> || <span
> class="col2"> | </span> || <span class="col3"> | </span> || <span
> class="col4"> | </span>
>   }
>   ACT < .NO
>   ACT.doNotLinkIt >
>   expAll = 1
> }
> 
> Cheers
> 
> Joey
> 
Mayb this is a solution for you?

http://forum.typo3.org/index.php?t=msg&goto=308054&  (scroll down to the
second to last post)

Björn



More information about the TYPO3-english mailing list