[TYPO3] Section index and option split
Tapio Markula
tapio.markula at atwebteam.com
Mon May 14 09:33:39 CEST 2007
Peter Klein kirjoitti:
> Here's a tested version of the TS snippet:
>
> -- cut --
> page.includeLibs.usermenu = fileadmin/menuFunc.inc
>
> tt_content.menu.20.3 >
> tt_content.menu.20.3 = HMENU
> tt_content.menu.20.3 {
> special = userfunction
> special.userFunc = user_menuFunc->makeMenuArray
> special.userFunc.table = tt_content
> special.userFunc.select.andWhere = sectionIndex!=0 AND header!=''
> special.userFunc.select.pidInList.override.field = pages
> wrap = <div class="csc-menu csc-menu-3">|</div>
> 1 = TMENU
> 1.NO.doNotLinkIt = 1
> 1.NO.stdWrap.field = header
> 1.NO.stdWrap.typolink.parameter.field = pid
> 1.NO.stdWrap.typolink.section.field = uid
> 1.NO.stdWrap.htmlSpecialChars = 1
> 1.NO.allWrap = <p class="csc-section">[1]|</p> |*| <p
> class="csc-section">[2]|</p> |*| <p class="csc-section">[3]|</p>
> }
> -- cut --
>
Thank's - that real helped.
More information about the TYPO3-english
mailing list