Hi I am trying to display some categories from a certain member and display them only if they have some data I can do them separate but I can’t do them both.
this is what I am using to get the categories but where can I use the author_id ?
{exp:channel:categories channel="products" show_empty="no" parent_only="yes"}
<li>
<a href="http://{site_url}index.php/dimitriadis/products/categories/C{category_id}">{category_name}</a>
</li>
{/exp:channel:categories}and this is the alternate way but using limit I only get as many categories as the entries double and triple the same category.
{exp:channel:entries author_id="97" channel="products" dynamic="no" limit="1" disable="pagination"}
{categories}
<li>
<a href="http://{site_url}index.php/dimitriadis/products/categories/C{category_id}">{category_name}</a>
</li>
{/categories}
{/exp:channel:entries}what should I do? if there was author_id inside the exp:channel:categories or an if statement for the author?