[TYPO3-dev] HMENU based on table from a extbase extension
Björn Pedersen
pedersen at frm2.tum.de
Tue Aug 23 17:21:01 CEST 2011
Am 23.08.2011 16:41, schrieb Benjamin Beck:
> Hello all,
>
> i want to make a Navigation based an a table from a extbase extension.
>
> Until now i have this as Typoscript:
>
> --------------------------------------------------------------------------
> lib.contentmenu = HMENU
> lib.contentmenu {
> special = userfunction
> special.userFunc = user_menuFunc->makeMenuArray
> special.userFunc.table = tx_gldataobjects_domain_model_kompetenzfeld
> special.userFunc.select.pidInList = 11
> special.userFunc.select.languageField = sys_language_uid
> 1 = TMENU
> 1 {
> expAll = 1
> doNotLinkIt = 1
wrap = <ul> | </ul>
> stdWrap.field = name
> NO.wrapItemAndSub = <li>|</li>
> ACT < .NO
> }
> 2 < .1
> 3 < .2
> 4 < .2
> }
Maybe you are missing the <ul>|</ul> wrap for your menu and a
html-cleaner or the browser then gives you the result you see?
More information about the TYPO3-dev
mailing list