[TYPO3-english] Creating tmenu in columns using wrap
JoH asenau
info at cybercraft.de
Mon Aug 5 20:52:35 CEST 2013
Am 05.08.2013 20:34, schrieb Sara:
> I'm trying to create a menu to be split across columns and show their
> subpages eg
>
> pages in the tree:
>
> 01
> --101
> --102
> 02
> --201
> --202
> 03
> --301
> --302
>
> are displayed in the menu as 3 columns:
>
> 01 02 03
> 101 201 301
> 102 202 302
>
> I thought I could do this using the following code and using a wrap to
> allocate each occurrence a class but this seems to just wrap all the
> items (eg page 01-03) in the first span and not each 'set' separately.
>
> Could someone advise me on where I'm going wrong please?
Since you are going to wrap an item together with the subpages of that
item you should go for
wrapItemAndSub = <blah>|</blah>
http://docs.typo3.org/typo3cms/TyposcriptReference/MenuObjects/Tmenuitem/Index.html
HTH
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