New in 2.0: On is Yes, Off is No
Rather than point out all of the little instances in separate entries, here’s the deal with some parameters in EE 2.0. “On” is now “Yes,” “Off” is now “No.”
The biggest change (at least as far as the first response to any EE problem is concerned) is dynamic=“off”. It’s not off, it’s no!
{exp:channel:entries limit="5" dynamic="no"}
...
{/exp:channel:entries}
This also goes for dynamic_start, relaxed_categories_mode and sticky.
So, next time someone asks why their most recent entries won’t display in the sidebar of their site, you can shout: dynamic=“no”!
Share on Twitter
bjorn — 20:48 on 01.11.2010
Yes is definitely the new On!
Brian — 20:55 on 01.11.2010
Sounds good to me!
Malacandra — 04:10 on 01.13.2010
That seems like a completely arbitrary and gratuitous change… which will necessitate anyone considering upgrading to 2.0 to go through their templates to change the coding of a parameter that’s functionally identical.
Why?
Chris Newton — 05:22 on 01.14.2010
What the EE dudes need to do is what we’ve done with some of our software. Expect booleans, and program for them.
yes, 1, true, on == TRUE
no, 0, false, off == FALSE
That simple. Make all of the above work, not just one. If the software needs a boolean, make it understand booleans.