[TYPO3-UG Dutch] Menu start punt

Paul Maas paul at pm-it.nl
Tue Nov 27 12:06:03 CET 2012


Hallo Lijst,

Ik heb onderstaand menu.



temp.RIGHT_MENU= HMENU
temp.RIGHT_MENU.special = directory

temp.RIGHT_MENU.special.value.data = {$menustart}

temp.RIGHT_MENU.1 = TMENU
temp.RIGHT_MENU.1 {
    wrap = <ul>|</ul>
    expAll = 1
    NO {
      wrapItemAndSub = <li>|</li>
        ATagTitle.field = 1
   }
   ACT = 1
    ACT{
      wrapItemAndSub = <li class="active"> | </li>
        ATagTitle.field = 1
        stdWrap.htmlSpecialChars = 1
        ATagParams = class="active"
    }
    IFSUB{
       wrapItemAndSub = <li >|</li>
        ATagTitle.field = 1
    }
}


Nu wil ik op de plaats waar {$menustart} staat in het geval dat er géén
child pages zijn de parent ID van de huidige pagina als startpunt
op het moment dat er wel child pages zijn dan moet de {$menustart} variabel
worden gevuld met de huidige pagina id.

Ik heb diverse zaken geprobeerd maar kom er zelf even niet aan uit helaas.


Groet Paul Maas


More information about the TYPO3-UG-Dutch mailing list