Всего сообщений:
78
Карма:
428
Присоединился:
24.11.2008
Страна:
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
Присоединился:
24.11.2008
Страна:
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!