Forums / Developer / Stupic question but so important to begin...
pierre oOo
Monday 29 October 2007 9:46:45 am
hi,
what's the template language for the negation of " eq " ??? I tried many things like " !eq" , "not eq ", etc... I'm getting mad ! ... please help me...
I can get throught it with an "else", but It's not a good solution...
here's the condition I want to invert :
{if eq($node.object.current_language, $translation.item.language_code)}
Many Thanks.
[::ink:.]
André R.
Monday 29 October 2007 10:14:29 am
{if ne($node.object.current_language, $translation.item.language_code)}
Alternativly (but more work):
{if eq($node.object.current_language, $translation.item.language_code)|not()}
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom