-
tree menu with persistence and referenced
Hi all,
I'm searching for a tree menu that allow me to highlight the current branch.
Ok, it's not so easy, please continue reading...
Since I need to use it on a product catalog featuring 4000 products stored in a mysql db, I would like the menu to be organizable by categories.
I can create the whole menu manually (no problem here), but I would like to make the menu to highlight the related category when clicking on a product on the page. Every product has a cat_id field but I can add other fields (i.e.: menu_id).
Every branch of the tree should link to a page (category branches will link to mycatpage.php?cat_id=#...; subcategory branches will link to mysubcatpages.php?subcat=#...; and so on...). Example:
- category 1 (link to page contaning all subcatgegories related to category 1)
- subcategory 1.1 (link to page containing all products in subcategory 1.1)
- subcategory 1.2 (link to page containing all products in subcategory 1.2)
Even more difficult:
I have a search page on the website. And the result page show all found products sorted by category and subcategory.
I would like that, once you click on any product, the treemenu expands accordingly, displaying the tree menu subcategory (or category) where it belongs.
Is there a script that does something similar?
I searched for treemenu on DD and googled a lot about such menu, but nothing to do: I haven't found yet a solution.
Any suggestion will be very appreciated.
gargiulo
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks