[Typo3] "IF" confusion - please help!

Scotty C superscotty19 at yahoo.com
Tue Oct 11 10:37:13 CEST 2005


Good day everyone!


I have a subpart:
   <td <!--###NEWSID###--> <!--###NEWSID###--> >

and I want to populate the subpart with:
   id="news"

IF the page title is:
   Home


Now, if I was normally coding, this is my thinking:
if (field:title = Home)
   then subparts.NEWSID.value = id="news"

So in the end, my HTML template would look like this
(assuming we were at the Home page):
   <td id="news">

... But I have no idea how to do this in Typo3 -
please help!

Thanks!
-Scott.


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the TYPO3-english mailing list