Hi,
Sorry to ask, this may be a dumb question, but i've tried my searches and cannot yield a good answer.

I am using NICE Menus and Taxonomy Menu to create a drop down menu.

I have my taxonomy as follows:

-Fruits
--Apples
--Pears
--Oranges

What I'm trying to do:

If the user goes through the drop down menus and clicks on a taxonomy term, I want to either store that the user clicked on for example, "Apples", in SESSION.

Or is there a way to find out which taxonomy term the user clicked and then pass it on to my module to use?

So end result is:

(a) user clicks on a taxonomy term
(b) somehow figure out how to pass the taxonomy term or figure out how to store it into a SESSION variable
(c) this is passed on to my module and my module will call a function in my module.

Any assistance on how to figure out which "term" was clicked on or how to store a "clicked" term into SESSION, that would be greatly appreciated.

thanks in advance.

Comments

mxt’s picture

I have the same problem.

User click on a term -> session variable stored.

Next I have to show a particular block or menu based on the stored session variable.

How to obtain this? Thank you very much