Finished! Indented Sub-categories.
OK. I have this working the "simple" way, with only one level of "indentation" in the category tree. The elegant way would have been to build a multi-dimensional array, but figured there was already enough overhead in categories.php, and there isn't really enough room to effectively build a 3+ level navigation model without losing valuable product space.
I had to change:
/xcart/include/categories.php
/xcart/skin1/customer/categories.tpl
/xcart/skin1/location.tpl
/xcart/skin1/customer/main/products.tpl
I made the changes for 3.2.1, but see that categories.php changed for 3.2.2. I'll post the 3.2.1 changes for now and post the 3.2.2 changes if anyone wants them.
See the next message for the specific file changes...
__________________
-Derrick
FreeRangeMinds, LLC
|