07-01-2011, 07:47 AM
Actually, I create this plugin just to make it easier to manage my menu in my header template. So, probably it's useless for other people. But I hope it's OK to share it.
This simple plugin will add a menu in our forum header. We need to put this code in our header template:
This simple plugin will add a menu in our forum header. We need to put this code in our header template:
Code:
|
By default, it uses .menu class. If we want to use other class, edit the template provided by this plugin. If we want the menu use a specified class when selected, probably we need to add a selected class in our global.css, depends on the class we used. Example:
Code:
|
I've "ported" the header menu on the demo forum using this plugin to see it in action.