回帖总数:
78
业力:
428
注册日期:
2008/11/24
位置:
United States
Is there an easy way to make the categories into hierarchical data using the id and parent id relationship. Would like to use jstree for the categories view in the admin area.
回帖总数:
78
业力:
428
注册日期:
2008/11/24
位置:
United States
I'm pretty silly I don't have too, jstree did it for me. Just created a string with the follow basic structure. <root> <item parent_id="category parent Id" id="category Id"> <content> <name href="http://localhost:11139/administration/CategoryDetails.aspx?CategoryID=category Id"> category name </name> </content> </root> dump it into jscript for jstree boom nice jstree for categories in the admin area.. Works ALOT better when your dealing with 600 plus categories. Just have to add some css touches and add a image per published or not.. done!