in this section i have two problems
1- the url is http://electromed.biz/site/index.php/category/exhibitions
the code:
{exp:channel:categories channel="project"}{category_name}{/exp:channel:categories}the indicator “category” not work and the code return all cat
when i use:
{exp:channel:entries channel="project"}{categories}{category_name}{/categories}{/exp:channel:entries}the indicator “category” work properly and the code return only cat in the url
how i can make exp:channel:categories work
2- in this code:
{exp:channel:entries channel="project"}{categories}{category_name}{/categories}{/exp:channel:entries}if the url like this http://electromed.biz/site/index.php/category/exhibitions1
notice exhibitions1 not exist.
the code return all entries
how can i make it not return entries if cat not exist.