All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Dynamic Low Reorder Parameters and possible Stash solution?

claypole 18 Jul 2013 13:09 question, complete

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

  1. 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.

    Low 18 Jul 2013 13:13

    You might also consider using single quotes for the Stash tags instead of double ones to avoid confusion for the template parser.

  2. 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!