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

Support archive

Var not available for channel:categories task

Russ Back 2 Jul 2012 14:38 problem, rejected

Hey Low.

99% sure I've got something wrong here:

{exp:low_variables:parse var="lv_community_article_categories"} 
{exp:channel:categories channel="community_articles" show_empty="no" show="{lv_community_article_categories}" parse="inward"}
  • {category_name}

  • {/exp:channel:categories}
    {/exp:low_variables:parse}


    lv_community_article_categories is a drag and drop categories list and outputs something like 5|8|27 and is set to parse early, but I can't get the categories tag to output anything at all. Hardcoding in the cat IDs produces the desired output so the tag itself seems fine.

    Any pointers?

    Thanks

    Replies

    1. Low 2 Jul 2012 14:42

      Hi Russ,

      You can just use the Variable syntax instead of the Tag syntax, like so:

      {exp:channel:categories show="{lv_community_article_categories}"}


      ...as long as early parsing is enabled for that variable.

    2. Russ Back 2 Jul 2012 14:43

      Sorry - please ignore - found another issue that was causing it!

    3. Low 2 Jul 2012 14:44

      No probs! :)