Dynamic Low Reorder Parameters and possible Stash solution?
I've got a whole range of Channels and Reorder sets, but I'd like to streamline the code to a sensible point. I've tried to insert a Stash value into the Low Reorder Parameter, but it's not having it.
At it's most basic:
{exp:low_reorder:entries set="1" category="2"}
wants to ideally be:
{exp:low_reorder:entries set="{exp:stash:get name="set_id"}" category="{exp:stash:get name="set_id"}"}
Outside of here, the Stash Gets can be placed inside the Low Reorder tag no problem.
Any ideas how to set these numbers dynamically and so have just one instance of the Low Reorder code?
Cheers
Simon
Replies
Low 18 Jul 2013 13:12
I think that if you want to use tags as another tag's parameter values, you need to add parse="inward" to the outer tag, as well as put all parameters on a single line.
claypole 18 Jul 2013 20:00
Thanks for this. So, I did get to a point where it sort of worked, but then realised that my navigation is quite set, so I need to specify categories as well as reorder sets. I can use Stash to a point, but there's going to be a few chunks of similar code!