Re: x5 Navigating category tree
HI,
I don't think I explained it very clearly.
It's second level cats so in the example I gave...
CARS TOP LEVEL CATEGORY PAGE (icons at top for Ford, GM, Ferrari, Fiat etc)
--- FORD SUB - CATEGORY PAGE (icons at top for Ford, GM, Ferrari, Fiat etc)
------ FORD PICKUPS SUB - CATEGORY PAGE (icons at top for Ford, GM, Ferrari, Fiat etc)
CARS are one of the top level categories on the site. Once you are in the CARS category I want the icons for the car brands to show at the top of all the pages below so if you are in the Compact Fords subcat you still see all the car brands at the top.
I've found that in my code return $result[0]; works quite nicely as I've got more parent categories now (for structural reasons) and I can change the 0 to a 1 or a 2 depending how far up the tree I want to go.
__________________
Core version: 5.5.xx
|