Could someone kindly help please?

I'm creating a plugin and part of its job is to automatically add a 'Menu Class Suffix' to a chosen menu. I know it can be done manually from the advanced tab of the menu module but I need the plugin to do it if possible.

How can I add a value to 'class_sfx' in 'params' of the menu module in the database table __modules please?


Many thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.