[TYPO3-english] Creating tmenu in columns using wrap
JoH asenau
info at cybercraft.de
Mon Aug 5 21:48:39 CEST 2013
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
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
More information about the TYPO3-english
mailing list