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.
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.
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.
Posts: 16504
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!
Posts: 121
It is what I want exactly but I need more links.
Thanks for your prompt reply.
DF
Posts: 16504
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!
Posts: 121
Thanks again for your help I will give it a go and let you know how I progress.
Posts: 121
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
Posts: 693
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
Posts: 27300
How many more links do you want?.
Dave
____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 121
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
Posts: 27300
more links:
http://gallery.menalto.com/node/94616#comment-371854
Care to donate?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 121
Great just what I needed. And yes I will donate, it is well worth it.
Thanks again for the prompt response.
DF