[TYPO3] Menu in TS

Miguel Angel Calleja Lázaro mangelcl at yahoo.es
Tue Aug 1 11:32:23 CEST 2006


Hi list, im doing a menu with Typoscript:

lib.menu = HMENU
lib.menu.special = list
lib.menu.special.value = 1, 8,7,6,5,4,3,17,18
lib.menu.1 = TMENU
lib.menu.1 {
  wrap = <ul>|</ul>
  NO.allWrap = <li> | </li> 
  ACT = 1
  ACT.allWrap = <li class="selected"> | </li>
}

It works but it make me some wrong. For example if i am in page id=18, 
<li> is active but i dont know why page id=1 is active too always.

<div class="menu">
  <ul>
    <li class="selected"><a href="index.php?id=1" onfocus="blurLink(this);">Portada</a></li>
    <li><a href="index.php?id=8" onfocus="blurLink(this);">Mundo</a></li>
    <li><a href="index.php?id=7" onfocus="blurLink(this);">Localizador de salones</a></li>
    <li><a href="index.php?id=6" onfocus="blurLink(this);">Productos</a></li>
    <li><a href="index.php?id=4" onfocus="blurLink(this);">Tendencias</a></li>
    <li><a href="index.php?id=3" onfocus="blurLink(this);">Conociéndote</a></li>
    <li><a href="index.php?id=17" onfocus="blurLink(this);">Actualidad</a></li>
    <li class="selected"><a href="index.php?id=18" onfocus="blurLink(this);">Contacto</a></li>
  </ul>
</div>

Be as it is the active page, page id=1 also activates to me, why? help, thanks





More information about the TYPO3-english mailing list