[TYPO3-english] Menu Problem

Andreas Becker ab.becker at web.de
Wed Jun 9 08:12:07 CEST 2010


Hi

we are using 4.4.0beta3 having strange behaviour with simple menues in list
and directory

It list us the pages from rrootlevel if we have:

preCodeContent = HMENU

preCodeContent.entryLevel = 0

preCodeContent.wrap = <div id="globalMenu">|</div><!-- end #globalMenu
 --><div class="clear"></div>

preCodeContent.1 = TMENU

preCodeContent.1 {

expAll=1

wrap = <ul class="adxm menu"> | </ul>

noBlur = 1

NO {

     ATagParams = class="top_parent"

wrapItemAndSub = <li> | </li>

}

ACT = 1

ACT {

ATagParams = class="top_parent"

wrapItemAndSub = <li class="active"> | </li>

}

}


===================

If we change entryLevel = 0 to special = directory and add a value to it
shows ONLY the rootpage even this was NOT the PageID defined

preCodeContent = HMENU
preCodeContent.special = directory
preCodeContent.value = 143
preCodeContent.wrap = <div id="globalMenu">|</div><!-- end #globalMenu
 --><div class="clear"></div>
preCodeContent.1 = TMENU
preCodeContent.1 {
expAll=1
wrap = <ul class="adxm menu"> | </ul>
noBlur = 1
NO {
     ATagParams = class="top_parent"
wrapItemAndSub = <li> | </li>
}
ACT = 1
ACT {
ATagParams = class="top_parent"
wrapItemAndSub = <li class="active"> | </li>
}
}


=============

The same happens if it is special = list

preCodeContent = HMENU
preCodeContent.special = list
preCodeContent.value = 131,144,145
preCodeContent.wrap = <div id="globalMenu">|</div><!-- end #globalMenu
 --><div class="clear"></div>
preCodeContent.1 = TMENU
preCodeContent.1 {
expAll=1
wrap = <ul class="adxm menu"> | </ul>
noBlur = 1
NO {
     ATagParams = class="top_parent"
wrapItemAndSub = <li> | </li>
}
ACT = 1
ACT {
ATagParams = class="top_parent"
wrapItemAndSub = <li class="active"> | </li>
}
}


======================

Any idea what might be wrong here?

Thanks

Andi


More information about the TYPO3-english mailing list