Adding links to the Menu

dgfphoto99

Joined: 2009-04-15
Posts: 121
Posted: Tue, 2011-03-29 17:08

I want to add links in the menu to web pages outwith gallery 3. Anyone know how to do this or what files to edit? I now that there are modules for About page etc. but I do not want this.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2011-03-29 17:39

http://codex.gallery2.org/ <- some user docs are developing nicely there

www.gallerymodules.com
http://codex.gallery2.org/Category:Gallery_3:Modules

And more importantly :)
http://codex.gallery2.org/Gallery3:Modules:menu_links <- is that what you're looking for?
____________________________________________
Like Gallery? Like the support? Donate now!

 
dgfphoto99

Joined: 2009-04-15
Posts: 121
Posted: Tue, 2011-03-29 17:48

It is what I want exactly but I need more links.

Thanks for your prompt reply.

DF

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2011-03-29 18:18

Looks like you'd need to edit:

menu_links/controllers/admin_menu_links.php

menu_links/helpers/menu_links_event.php -- not sure what you'd edit there without testing, but it looks like you'll probably need to change title3 and url3 to title# and url#, where # = the number of links total you want

menu_links/helpers/menu_links_installer.php -- not sure why url2 isn't listed there, Dave?

____________________________________________
Like Gallery? Like the support? Donate now!

 
dgfphoto99

Joined: 2009-04-15
Posts: 121
Posted: Tue, 2011-03-29 19:11

Thanks again for your help I will give it a go and let you know how I progress.

 
dgfphoto99

Joined: 2009-04-15
Posts: 121
Posted: Tue, 2011-03-29 19:45

No Luck I am afraid. I have edited the files but all I get after that is a blank page. When I remove the module everything is OK. I am not a programmer but I am able to "tinker" if I know what to edit.

Thank again

DF

 
undagiga

Joined: 2010-11-26
Posts: 693
Posted: Tue, 2011-03-29 22:33

I seem to recall that I had this problem at some point. I think it needed a change to some other module, which was looking for information that only exists on photo and album pages. I don't recall which one that was. Are you able to list which modules you have enabled? Or you try disabling them one at a time.

U-G

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2011-03-30 03:35

How many more links do you want?.

Dave
____________________________________________
Blog & G2 || floridave - Gallery Team

 
dgfphoto99

Joined: 2009-04-15
Posts: 121
Posted: Wed, 2011-03-30 09:18

Hi

I would ideally need another 6 links. My idea is just to have a link to an external web page and not a page which I can fill in the deatils like the About page module.

Thanks
DF

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2011-04-03 00:38

more links:
http://gallery.menalto.com/node/94616#comment-371854
Care to donate?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
dgfphoto99

Joined: 2009-04-15
Posts: 121
Posted: Mon, 2011-04-04 17:03

Great just what I needed. And yes I will donate, it is well worth it.

Thanks again for the prompt response.

DF