I am quite sure this is a parse order problem. WHat I need to know is how to get around it. The plugin is returning the correct data that I want, which is list of cat_id’s like 1|2|3|4|5|6
Here is what I have tried:
{exp:weblog:categories weblog="videos" style="linear" show="{exp:fetch_category id="{embed:id}"}"}
{category_name}
{/exp:weblog:categories}
and
{exp:lg_replace:haystack needles="catlist"}
{exp:lg_replace:replacement needle="catlist"}
{exp:fetch_category id="{embed:id}"}
{/exp:lg_replace:replacement}
{exp:weblog:categories weblog="videos" style="linear" show="{catlist}"}
{category_name}
{/exp:weblog:categories}
{/exp:lg_replace:haystack}
and (with the exp:weblog:categories call in the embed)
{exp:lg_replace:haystack needles="catlist"}
{exp:lg_replace:replacement needle="catlist"}
{exp:fetch_category id="{embed:id}"}
{/exp:lg_replace:replacement}
{embed="blah/_categories" catlist="{catlist}"}
{/exp:lg_replace:haystack}
In each case the plugin call is working, and in the case of using LG_Replace the needle does contain the correct data.
Help?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.