wOOt !! ;) Hahah..
You have to be kidding .. Since when ?
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
wOOt !! ;) Hahah..
You have to be kidding .. Since when ?
@ajshort -- This does not work for me.
<% if Prop1 || Prop2 || Prop3 || Prop4 %>
...do something
<% end_if %>
throws PHP error, Parse error: syntax error, unexpected T_ELSE
Did the SS implementation change since last year that would make this stop working?
@johnmblack for 2.4 you can only a single or clause - prop1 || prop2 should would but you can't include any more. This has been changed in 3.0 to support 2 or more.