[TYPO3] Itemnumber in menu

Peter Klein peter at umloud.dk
Thu May 11 18:20:22 CEST 2006


Hi Adam. You can always create your own register "counters". Take a look at 
these 2 snippets I wrote a while ago.
Both creates several  register "counters", which is used to add numbers to 
headers & menus..

http://www.typo3wizard.com/en/snippets/cool-stuff-typoscript/nummerierte-abschnittsuebersicht-kapitelnummerierung.html
http://www.typo3wizard.com/en/snippets/cool-stuff-typoscript/m.html

---
Peter Klein / Umloud Untd

"Adam Nojszewski" <adam at nojszewski.coim> wrote in message 
news:mailman.1.1147354100.7293.typo3-english at lists.netfielders.de...
> Kristian Kleiveland napisa?(a):
>
>> allWrap.dataWrap = <li accesskey="{register:count_HMENU_MENUOBJ}">|</li>
>
>
> But register:count_HMENU_MENUOBJ counts menuitems on all levels, i.e.
>
> 1
> -2
> -3
> 4
> 5
>
> Is it possible to count menuitems on current level only?
>
> 1
> -1
> -2
> 2
> 3
>
> regards
> Adam 





More information about the TYPO3-english mailing list