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

Support archive

Using Structureframe var twice

vicrau 19 Jun 2012 18:30 problem, complete

Ok,

I have the following tag in my template, 2 times:

{exp:low_variables:parse var="link_news_{segment_1}"}

one time it's parsed correctly: http://website.be/nl/nieuws

the other tag {exp:low_variables:parse var="link_news_{segment_1}"}/{entry_id}/{url_title}

gets parsed like this (mind the alphanumeric string):

http://website.be.be/nl/M40o93H7pQ09L...

which should be

http://website.be/nl/nieuws/15/extra-...

Anyone any insights?

regards

Replies

  1. Low 19 Jun 2012 18:33

    Might be a conflict with other parse tags. Have you tried using the low_variables:single tag instead?

  2. vicrau 19 Jun 2012 20:09

    one tag was outside my channel:entries and the other one inside.... placed them both inside the channel:entries now, and that gives me the right result now.

    any idea why this happens?

    regards
    Vic

  3. Low 19 Jun 2012 20:13

    This probably has to do with the way EE's template parses caches instances of the same tag in a template. Nothing I can do about that from LV itself, but adding something like foo="bar" to either of the tags would probably help, too.