Parsing Advanced Conditionals as Tag Parameters
John D. Wells found himself up against the almighty Parse Order:
Once again I’m shaking my fists at the impossible hoop-jumping gauntlet that is the ExpressionEngine Parse Order. This time I want to pass the result of an Advanced Conditional as a value to a module tag parameter. It’s been long said it can’t be done. It’s time to change that.
John found a work-around that includes some built-in EE functionality and a third-party plugin. I don’t want to spoil it here, so you’ll have to read the entire write-up to see his technique.
When I teach the Parse Order to students in my EE training classes, I try to give examples of where the Parse Order could bite them. This is one that I haven’t used but will now add John’s write-up as something they should read.