Hello, I could use a little direction in trying to make the wonderful Tag module work in web sites menus.
I have 4 main menus, and three “filters”. All these menus are based on tags entries…
Main Store Menu
1. Graphing
2. Scientific
3. Basic
Brand Filter Menu
1. All
2. Texas Instruments
3. HP
I currently have the main menus working and they pull tags based on the menu keyword. (Example ../tag/Graphing/ pulls all entries with the “Graphing” Tag.) It works great.
My goal is to have the Filter menu add support for showing only entries that have tags based on the Main Store Menu, and based on the brand Filter.
(Example ../tag/Graphing,HP/) Which also works great if I type it in manually…
How would one go about creating the URL for the filter menus in the template?
I can see this partially working by using the {segment} variable.
Example for the “HP” menu, I could add this to my template
http://www.site.com/products/show/tag/{segment4},HP/
But this has some issues once the user chooses a filter. They wouldn’t be able to switch filters or brands. The segment variable would turn into a mess quickly.
Any direction here would be appreciated....
