I am using Cmenu widget, is there an easy way to get the current active menu item name in each page. could be something like
I have searched this fourm, it seems no relevant question, I also read the Cmenu API,but couldn’t find an API like above. any pointers are appricated.
No there isn’t, and in fact you can have also more than one label active each time.
thanks for you reply,zaccaria.
enmmm…I think this could be a common practice to get like category id or name to do some business logic. don’t you think?
Never needed to make something dependent on the active menu item… It sounds weird, things should depend on controller/action id or other their properties.
Ok, I see, thank you both.