[TYPO3] 'if' problem

John Angel johnange at gmail.com
Mon Jan 30 11:41:21 CET 2006


Hi

'if' clause is making me problems...

The code below should display just the name if email doesn't exist. But, it 
always displays email anchor. Please help.

Regards
John


 # Render author & email
lib.author = TEXT
lib.author {
 dataWrap = page:author

 # ALWAYS WORKS!?
 if.isTrue.data = page:author_email
  dataWrap = <A href="mailto:{page:author_email}">{page:author}</A>
 if >
} 




More information about the TYPO3-english mailing list