[Typo3] determine if current menu item is the first one
Peter Klein
peter at umloud.dk
Mon Nov 28 09:58:21 CET 2005
Hi Matt.
You could either use "optionSplit", or create 2 seperate menus, 1 with the
1st item, and the 2nd with the rest of the itemes, by using the "begin" and
"maxItems" properties of TMENU/GMENU.
OptionSplit:
http://typo3.org/documentation/document-library/doc_core_tsref/optionSplit/
http://castironcoding.com/resources/typo3-tricks/single-typo3-tricks/index.html?tx_ttnews%5Btt_news%5D=5&tx_ttnews%5BbackPid%5D=45&cHash=8bfd546c52
TMENU/GMENU Common Properties.
http://typo3.org/documentation/document-library/doc_core_tsref/Common_properties/
--
Peter Klein/Umloud Untd
"Matt Mucklo" <mmucklo at yahoo.com> skrev i en meddelelse
news:mailman.1.1133156610.30065.typo3-english at lists.netfielders.de...
> Hello,
>
> Typoscript template question:
>
> I'd like to wrap a menu item differently if that menu item is the first
> one in the list.
>
> Can anyone help me with some code to do this? I imagine it would use the
> 'if' function, but I don't know what value to test/how to test it...?
>
>
> --
> Matthew J. Mucklo
>
>
More information about the TYPO3-english
mailing list