PDA


View Full Version : Conditional statement help


absolutepunknet
06-26-2005, 02:02 PM
I would like to write a conditional statement in the ADV_LINKS_SHOWLINK template.

I would like it to be "if there is there is text entered into the custom field 5" display $customvarible (customvarible is already all set up) - if no text entered in custom field 5 - do this "show default image"

absolutepunknet
06-26-2005, 09:05 PM
figured out how to do it an easy way:

<img src="http://www.blah.com/blah/blah.gif" onerror="this.src='error.gif';">