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

Support archive

Random early parsed variable

Russ Back 20 Mar 2012 20:28 question, complete

Hey Low

Is there a way I can pull a random variable and parse it early? For example my vars might look something like this: "Details of our service in {segment_1}", "Find out about our offering in {segment_1}"?

Replies

  1. Low 21 Mar 2012 09:20

    Hi Russ,

    You could probably do this best in combination with Low Random, and more specifically, its items tag.

    You could create variables for each blurb, list these inside the Low Random tag and let that tag take care of the rest.

  2. Russ Back 21 Mar 2012 09:37

    Great, and presumably early parsing is still available so anything like {segment_1} and {if}{/if} conditionals will get executed too?

  3. Low 21 Mar 2012 09:43

    Well, if your blurb vars are parsed early, then that should work, yes.