Hi,
I have problems with the following:
I would like to display the sub categories for a given category.
I started out wuth the vz_subcategories plugin. Works well.
{exp:channel:entries channel="test" category='{exp:vz_subcategories id="10"}' sort="asc" orderby="title" parse="inward"}
{title}
{/exp:channel:entries}This code outputs all title tags for the subcats of category 10.
Now, the issue: I want to use Low seg2cat, to dynamically set the parent ID.
I put the categories name in segement 3.
{exp:channel:entries channel="test" category='{exp:vz_subcategories id="{segment_3_category_id}"}' sort="asc" orderby="title" parse="inward"}
{title}
{/exp:channel:entries}But it shows nothing. I turned on Template Debugging. I see, that cat2seg is working. It returns the 10 as expected. So, the code is again
{exp:channel:entries channel="test" category='{exp:vz_subcategories id="10"}' sort="asc" orderby="title" parse="inward"}But I assume, that EE is reponsible for this behaviout.
http://www.mysite.com/index.php/templategroup/template/category_url_name
And EE limits the channels tag automatically to category 10. I see this behaviour, when I just use the tag without any catagory-parameter. It just returns the entries, that are within that category.
Any ideas, how I can circumvent that? How can I dynamically set the parent_cat_id? Either based on the URL-segement, or based on any other parameter.
Thanks
awa
EDIT: Never mind, just forgot to use the good old “dynamic=“no”. 😉
Issue solved