johnnyosc Posted December 16, 2002 Posted December 16, 2002 I was wondering how the Cpath numbers are assigned when you add and delete a category from your admin? I need to know how to locate the assign Cpath numbers (either in admin or php file) when u create a category and adjust them since I am making my menu in flash/jpg and I need to know what to assign the links in flash/jpg so that the correct Cpath is need to access the correct categories. Please advise. Thanks. JohnnyOSC
mattice Posted December 16, 2002 Posted December 16, 2002 Table categories: parent_id = fisrt cPath nr. (parent as in 'DVD') categories_id = second cPath nr. (As in Action Movies) The code looks for 'higher' parents to create the nested categories cPath trail. Easiest way to get all that in a menu is simply copying the function that is used to create the dropdown with all categories (as in advanced_search.php) and adapt that to either feed your menu or if that is not possible spit out a nicely formatted list you can then use as a reference. HTH Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.