[TYPO3] tt_products, poor documentations, no support

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Jan 4 12:03:39 CET 2006


Dom Stockdale schrieb am 03.01.2006 23:13:

> You can do something that looks like this
> 
> lib.mainMenu = HMENU
> lib.mainMenu.special = userfunction
> lib.mainMenu.special.userFunc = tx_chunkmenu_pi1->makeMenu
> lib.mainMenu.special.cols = 3
> lib.mainMenu.special.pid = 1
> lib.mainMenu.1 = TMENU
> lib.mainMenu.1.wrap = <ul>|</ul>
> lib.mainMenu.1.NO {
> 	linkWrap = <li>|</li>
> }
> 
> ..userFunc = tx_chunkmenu_pi1->makeMenu passes the menu an array from
> plugin called chunkmenu (no use to you I'm afraid or I'd send it to you)
> that can put in what it likes, so you could even make yourself a
> javascript menu or a list of internal anchors up to you.

This is what "nsb_cat2menu" does, but specifically for generating a
HMENU from hierarchically ordered TYPO3 records (e.g. from the
categories of tt_products). It doesn't require any coding, except
TypoScript, which is why it might be useful in this case.

Cheers,
Ernesto



More information about the TYPO3-english mailing list