Quote Originally Posted by damiantaylor View Post
Hi Clyde, I'm getting quite far tweaking my site now but could you help me with a php question please?

I've highlighted which category was selected by the user by re-instating SPAN.category-subs-parent and SPAN.category-subs-selected into the style sheet and changing the colour of the selected category text.

However, the above spans don't effect special categories such as 'New Products' and 'All Products' so I'm trying to add that functionality.
In tpl_categories.php you can tell which category or subcategory was selected by the user with the code:
if ($box_categories_array[$i]['current'])

Is there an equivalent method to tell which special category was selected?

Thanks again!

Regards,
Damian
in tpl_categories.php the handling of New, Special, ALL and Featured products is handled on lines 75 - 117.

That is the section(s) where you will need to make whatever edits you are working.