Var not available for channel:categories task
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"}
{/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
Low 2 Jul 2012 14:42
Hi Russ,
You can just use the Variable syntax instead of the Tag syntax, like so:
...as long as early parsing is enabled for that variable.
Russ Back 2 Jul 2012 14:43
Sorry - please ignore - found another issue that was causing it!
Low 2 Jul 2012 14:44
No probs! :)