Adding links to the Menu
dgfphoto99
Joined: 2009-04-15
Posts: 121 |
![]() |
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
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
http://codex.gallery2.org/ <- some user docs are developing nicely there www.gallerymodules.com And more importantly |
|
dgfphoto99
Joined: 2009-04-15
Posts: 121 |
![]() |
It is what I want exactly but I need more links. Thanks for your prompt reply. DF |
|
nivekiam
![]()
Joined: 2002-12-10
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? ____________________________________________ |
|
dgfphoto99
Joined: 2009-04-15
Posts: 121 |
![]() |
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 |
![]() |
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 |
![]() |
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
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
How many more links do you want?. Dave |
|
dgfphoto99
Joined: 2009-04-15
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 |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
more links: Dave |
|
dgfphoto99
Joined: 2009-04-15
Posts: 121 |
![]() |
Great just what I needed. And yes I will donate, it is well worth it. Thanks again for the prompt response. DF |
|