[TYPO3] TMENU conditional

Nathan Lounds loundsna at msu.edu
Thu Jun 1 23:04:54 CEST 2006


I'm trying to make a menu that displays items with abstracts different from
those without abstracts.  I can't figure out a conditional that will work.

Does anyone know how I could do that?  My code looks like this.

 1.  ###########################################
 2.  # News
 3.  temp.news_list = HMENU
 4.  temp.news_list.special = directory
 5.  temp.news_list.special.value = 153 # the starting point of the menu
 6.  temp.news_list.maxItems = 0
 7.  temp.news_list.1 = TMENU 
 8.  temp.news_list.1 {
 9.  	[current menu item's abstract field is empty] 
10.  		# Some TS here.
11.  	[else]
12.  		# Some TS here.
13.  	[end]
14.  }
15.  #------------------------------------------

Thanks!
_______________
Nate Lounds




More information about the TYPO3-english mailing list