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

Support archive

Seg2Cat 2.8.1 not working with low variables 2.6.1 on EE 2.10.1

Malacai 18 Apr 2016 15:33 problem, complete

Using low variables 2.6.1 and Low Seg2Cat 2.8.1 on EE 2.10.1
If i use Low Seg2Cat in templates, its working fine, but its not working inside low variables, it simply returns the variable like so for example: {last_segment_category_parent_id}

Replies

  1. Low 18 Apr 2016 16:35

    It's a parse order issue. You can try a couple of things:

    - Set the Early Parsing stage in LV to 'Yes, before Snippets';
    - change the priorities of the LV and seg2cat extensions in the database; make sure LV has a higher priority than seg2cat;
    - Use the Parse syntax in LV and use preparse to parse the var (recommended)

    {exp:low_variables:parse var="my_var" preparse: last_segment_category_parent_id="{last_segment_category_parent_id}"}

  2. Malacai 19 Apr 2016 06:33

    As amazing and quick as ever!
    Parse syntax did the trick.

    Thank you Sir!