We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
General
General Discussions
Search
Phx Modx Revoloution
<
1
2
>
☆ A M B ☆
872 Posts
lossendae
Reply #11,
16 years, 1 month ago
I think that if you have many elseif iteration, that’s better to use a snippet rather than output filters for performance.
Ouput filter are mainly for simple tasks.
1,624 Posts
cipa
Reply #12,
16 years, 1 month ago
Quote from: stargatesg1 at Sep 14, 2010, 10:30 PM
but you can’t do this
if value==1 then
//Do something
else if value==2 then
//do something
....
Any "else if" can be easily transformed in multiple IFs.
You also have the possibility to build your own ELSEIF.
Responsive CSS Grid:
cipalabs.com/projects/metal/
Blog:
MODX Tutorials & Articles
<
1
2
>