Hey,
I just noticed that in 3.x the <dtl if> conditionals are not anymore supported.
How do I now use if-queries in the templates?
Regards,
Adan0s
How do I use conditionals in 3.x templates?
Re: How do I use conditionals in 3.x templates?
You shouldn't! That's the idea.
One of the issues with the conditionals was, they were very difficult to have them (unit) tested.
If you need a quick hack you can look at using an output filter, or client-side javascript.
The best solution oftentimes is however to fix it in the module layer.
--
Mike.
One of the issues with the conditionals was, they were very difficult to have them (unit) tested.
If you need a quick hack you can look at using an output filter, or client-side javascript.
The best solution oftentimes is however to fix it in the module layer.
--
Mike.
huntingbears.nl - @michielbeijen on Twitter