Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Wednesday 07 December 2005 8:16:52 am - 2 replies
Modified on Wednesday 07 December 2005 8:18:49 am by Philip K.
Ćukasz Serwatka
Tuesday 13 December 2005 1:56:17 am
Hi Philip,
You were very close ;)
eZ publish tpl syntax uses operators for comparing values.
Look on this documentation page:http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_operators/logical_operations
Example for text string attribute:
{if eq( $node.object.data_map.<fieldname>.content.data_text, 'value' )} do this {else} do this {/if}
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Philip K.
Tuesday 13 December 2005 7:45:57 am
thank you - works :)
Linux is like a wigwam; no windows, now gates, and apache inside!
You must be logged in to post messages in this topic!