Hi,
I cant figure out why the cateogory_heading tag does not output my category name.
Category URL Indicator = products
category url titles = yes
I use the same template to show the list of categories and also the products for the categories. I use a simple {if segment_1 == ""} conditional for this.
we are dealing with the site/index page here. So when I go to domain.com I will see a list of categories since segment_1 is empty.
when I click on any of the category links which look like href=”{path=/}” (or I also tried href=”{path=site}” and i also tried href=”{path=site/index}”) I will get the list of the products for this category.
the url at this point looks like http://www.domain.com/index.php/products/categoryname which is what I would like. I dont like domain.com/index.php/site/products/categoryname
however, the following code does not give me the category name:
{exp:channel:category_heading channel="products"}
You are viewing category <em>{category_name}</em>
{exp:catcount cat_id="{category_id}"} items
{/exp:channel:category_heading}according to the docs and to what I know, this should work, no?
this is EE 2.2.2