[TYPO3-core] RFC #14143: Bug: count_menuItems not working correctly

François Suter fsu-lists at cobweb.ch
Sat Aug 28 17:02:59 CEST 2010


REMINDER

Requires a +1 by anyone

There's a TS below for easy testing.

> lib.someMenu = HMENU
> lib.someMenu {
> 1 = TMENU
> 1 {
> expAll = 1
> wrap = <ul>|</ul>
> NO {
> wrapItemAndSub.cObject = TEXT
> wrapItemAndSub.cObject.value = -|
> wrapItemAndSub.cObject.noTrimWrap = |<li>({register:count_menuItems} -
> {register:count_HMENU_MENUOBJ} - {register:count_MENUOBJ}) |</li>|
> wrapItemAndSub.cObject.insertData = 1
> }
> }
> 2 < .1
> 2.NO.wrapItemAndSub.cObject.value = --|
> 3 < .1
> 3.NO.wrapItemAndSub.cObject.value = ---|
> }
>
> Add it to your site, check out the first number, apply the patch and
> re-check the first number.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list