Guest Posted November 29, 2006 Posted November 29, 2006 I was able to change the code so that when a user clicks into a category the category name displays on the proceeding page. I can't get it to work for subcategory pages. Example: http://www. johnmag4u .com/catalog/ [Remove the spaces before and after 'johnmag4u', I don't want google to crawl this site] Click 'Hardware/Parts' in the menu on the left. You will see the category name correctly displays at the top of the page. Now click into any subcategory, such as 'Barebone'...right now where the word 'TEST' is displayed, I would like the name of the subcategory, such as 'Barebone' to be displayed. Any help would be greatly appreciated. Thanks in advance!
Guest Posted November 29, 2006 Posted November 29, 2006 Solution: Around line 58 find: if ($category_depth == 'nested') { Change to: if ($category_depth == 'nested' || $category_depth != 'nested' ) { Yes, this defeats the purpose of having the IF statement, but I don't know why it was an IF to begin with.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.