[TYPO3] Show menu title (current page) only if the MENU has been	filled (is not empty)
    Karol Martinka 
    kmartinka at accalio.com
       
    Sat Dec 15 21:36:32 CET 2007
    
    
  
Hello,
I have this code :
20 = HMENU
 20.special = directory
 20.stdWrap.dataWrap = <h2>{page : title}</h2><ul>|</ul>
 20.1 = TMENU
  20.1.NO {
  allWrap = <li>|</li>
 }
I would like to show the dataWrap only if the menu has entries.. That means, 
I need a menu with header, which will be displayed, only if the menu has 
entries.. I think there should be more ways how to achieve it, but I'm 
playing with it for about 2 hours without success.
Btw. how is the IF in HMENU working?!
Thanks,
Karol 
    
    
More information about the TYPO3-english
mailing list