Global Menu
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #1
Global Menu
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:

Code:
<!-- mn_gmenu -->


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:
.menu ul .selected a


I've "ported" the header menu on the demo forum using this plugin to see it in action.



Attached File(s) Thumbnail(s)
   

.7z  mn_gmenu.7z (Size: 4.75 KB / Downloads: 512)

(This post was last modified: 07-01-2011 07:49 AM by RateU.)
07-01-2011 07:47 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Global Menu
Looks pretty handy actually.
Personally, I've used a simple template replacement plugin to manage custom menu entries across multiple themes.  Considering how many themes like to change the header template, it's handy to have.

Thanks for posting Smile

My Blog
07-01-2011 09:17 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #3
RE: Global Menu
Thanks RateU, it looks cool. Smile


[Image: leelink.gif]
MYBB1.6 & XThreads
07-01-2011 09:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #4
RE: Global Menu
Thanks Biggrin

07-02-2011 05:08 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: