How to apply an operator depending on some condition

Author Message

Zoltan Szabo

Sunday 29 August 2004 10:26:49 pm

I have in my template code the following part:

cond(some_long_condition,some_long_variable,some_long_variable,some_long_variable|ezurl)

So I would like to use |ezurl depending on some condition.
Is it possible to do it some more simple way?
I mean something like this:

some_long_variable|cond(....ezurl)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.