Hi
Small issue and not sure if EE can do this. I have an eCommerce shop and have a page which lists all the categories. I want to be able to create a category in a category group but have it hidden from the displayed list until it goes live.
{exp:channel:categories category_group="1"}
<ul>
<li><a href="http://{path=categories/index}">{category_image}</a></br><a href="http://{path=categories/index}">{category_name}</a></li>
</ul>
{/exp:channel:categories}So the above lists all the categories within the category group.
I have put a custom category field in of “category_status” and set this to drop down to live and not live. Can I not then just use:
{exp:channel:categories category_group="1" search:category_status="live" }
<ul>
<li><a href="http://{path=categories/index}">{category_image}</a></br><a href="http://{path=categories/index}">{category_name}</a></li>
</ul>
{/exp:channel:categories}...in order to filter these so only the “live” categories???
Thanks in advance.
Steve