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

Support archive

Can I use Preload Text Replacements inside Low Reorder?

secondbridge 7 Aug 2012 15:18 question, complete

Trying to do something like this:


{preload_replace:is_premium_member='{exp:cartthrob:is_purchased_item entry_id="1000"}'}

{exp:low_reorder:entries set="3" limit="4"}
{if is_premium_member == "1"}
<h4><a href="{title_permalink='articles/detail'}">{title}</a></h4>
{if:else}
<h4>{title}</h4>
{/if}
{/exp:low_reorder:entries}


The Preload Text Replacement is working just fine outside the LowReorder, but failing inside. Any thoughts?

Replies

  1. Low 7 Aug 2012 15:33

    How about instead of using the preload_replace var, just use the tag itself?

    {if "{exp:cartthrob:is_purchased_item entry_id="1000"}" == "1"}

  2. secondbridge 8 Aug 2012 13:49

    Turns out the problem wasn't with Text Replacements. I'm using the is_pruchased_item tag twice on the page and the 2nd time wasn't firing. Apparently this is a known EE problem. I simply added param="2" to the second instance and everything worked fine.

    The TextReplacement gimmick was an attempted workaround to a problem I didn't fully understand.

    Thanks for the reply though.