Quote:
Originally Posted by rake
What you've done seems fine, but keep in mind you can't "execute" any code in the templates. It's plain html that goes there, besides the variables and the conditional system.
|
While not really on subject for Ocean, I believe you can execute code in a template conditional. For example, the following should work:
<if condition="$FOO==1 AND $FOO = 2">
would set $FOO to 2 if it was equal to 1. I would bet one can hide any PHP one wanted in conditionals, with just a little trickery.