Andy
20-11-07, 13:51
I've seen ALOT of post where people have wished they could customise their category tree. many from people claiming they know HTML, but not PHP.
fair enough. If you know HTML, here's a solution.
the code attached contains every AffWin category, child category and grandchild category nested together in a HTML ul.
I think it is complete. You just have to delete what you don't need.
Granted there's still some work for you to do, but I've done the hard work by researching the category structure, finding all children/grandchildren, finding their ID's, typing the lot out character by character, even adding comments so you know what each link does and where it belongs :D
Download the .zip folder
Don't forget to scan it for viruses. you don't know me remember!!
extract it and open up "category_tree.tpl" in your editor.
Delete everything you don't need and upload to templates/Your_Template/elements/category_tree.tpl. Make sure you save your old category_tree.tpl incase you need it later.
A good use for this file is to use Javascript to open each nested list or children when the Parent cat is clicked, and similar with the grandchildren.
It works very well with a JS tree menu.
Hope this helps
Andy
fair enough. If you know HTML, here's a solution.
the code attached contains every AffWin category, child category and grandchild category nested together in a HTML ul.
I think it is complete. You just have to delete what you don't need.
Granted there's still some work for you to do, but I've done the hard work by researching the category structure, finding all children/grandchildren, finding their ID's, typing the lot out character by character, even adding comments so you know what each link does and where it belongs :D
Download the .zip folder
Don't forget to scan it for viruses. you don't know me remember!!
extract it and open up "category_tree.tpl" in your editor.
Delete everything you don't need and upload to templates/Your_Template/elements/category_tree.tpl. Make sure you save your old category_tree.tpl incase you need it later.
A good use for this file is to use Javascript to open each nested list or children when the Parent cat is clicked, and similar with the grandchildren.
It works very well with a JS tree menu.
Hope this helps
Andy