How to Add links in Menu Bar

shaywood

Joined: 2009-04-19
Posts: 14
Posted: Sun, 2009-06-14 02:54

How can I add links to the menu bar?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-06-14 05:40

I would trythe 'links in head' module.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2009-06-14 15:02

@shaywood: create your own module. I recommend using the module builder from http://github.com/gallery/gallery3-contrib/tree/master .. download that package and move the "developer" into your gallery3/modules dir, then activate the module. Chooose the Admin > Developer Tools > Generate Module link, name your module and choose the two options under the menu section. chmod 777 your modules dir, then hit "generate" and it'll pop out a new skeleton module for you. Now you can look in modules/xxx/helpers/xxx_menu.php and have the basic code for adding menus. Look at other modules to see examples of how to add code to the hooks there.
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest code/upgrading: http://codex.gallery2.org/Gallery3:Upgrading
Latest git: http://codex.gallery2.org/Gallery:Using_Git