By norti on
Hello,
Is it possible to use "IF" or other conditional expression while creating Custom Templates ?
I want to print some text, when some fields are empty (or have some special values), but I don't know how to really write this code using Custom Templates ?
Pseudocode:
IF ($node->content['relativity_operations']['#value'] == EMPTY) print "EMPTY"
ELSE
print $node->content['relativity_operations']['#value']
Thank you for any suggestions.
Comments
???
???