[Typo3] Not render something if a menu is empty.

Ries van Twisk typo3 at rvt.dds.nl
Tue Aug 30 23:06:41 CEST 2005


Martin,

this is what I have been using:

temp.submenu.stdWrap.ifEmpty.cObject < ifmenuisemptyshow


Where [ifmenuisemptyshow] can be any COA.

Ries

>Hi Ries				
>
>Have you found a solution; I can´t make it work. I have this menu and wants it to render only if it is not empty:
>
>temp.submenu = COA
>temp.submenu.10 = TEXT
>temp.submenu.10.value = <h3>Read more</h3> 
>temp.submenu.30 = HMENU
>temp.submenu.30.entryLevel = 1
>temp.submenu.30.1 = TMENU
>temp.submenu.30.1 {
>  NO.allWrap = <div>| </div>
>  ACT < NO
>}
>
>
>- Martin Rud (rudi1234)
>
>-----------------------
>This thread is located in the archive at this URL:
>http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110111336/
>					
>_______________________________________________
>Typo3-english mailing list
>Typo3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>  
>


-- 
R. van Twisk
http://www.metamorf.net

Our Typo3 enabled website: http://www.livetravelguides.com
Instand help for Typo3?    irc:/irc.freenode.net/typo3
Looking for documentation? http://typo3.org/documentation/





More information about the TYPO3-english mailing list