Add my footer to main.php

genecap

Joined: 2007-09-26
Posts: 5
Posted: Thu, 2007-09-27 14:13

Gallery 2.2.3
I would like to add a simple footer text hyper link to my Home Page URL on the Gallery 2 main.php.
Located above the gallery.gif... Powered by Gallery v2.2 image link.

I looked at the help files but I really can not figure out how to do this. (sorry, a rookie)
I am using the Matrix theme.
I know if I upgrade my edits will be lost, no problem, I will just re do my edit.
Thanks,
... Gene

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2007-09-27 14:32

I change the logo and make it a link to the home page:
http://codex.gallery2.org/Gallery2:How_to_Add_Custom_Banner_or_Remove_Gallery_Logo

but if you want it at the bottom:
# If you don't have a /local directory in your theme's template directory create a local directory here /themes/<yourThemeName>/templates/.
# Copy the theme.tpl file from /themes/<yourThemeName>/templates/ to /themes/<yourThemeName>/templates/local/.
# Finally, edit the copy of theme.tpl you just made and remove or change this line:
{g->logoButton type="gallery2-version"}
to this

{g->logoButton type="gallery2-version"}
<a href="http://EXAMPLE.COM">home</a>

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
genecap

Joined: 2007-09-26
Posts: 5
Posted: Thu, 2007-09-27 19:14

Thank you very much for your help.
If I understand you, I make the file edits/changes (after I ftp files from the server to my computer) then FTP back to server ...but

I have a "bigger" problem.
I used the pre installer to install, I can FTP in, download files to my computer but I can not transfer files/folders via FTP FROM: my computer TO: my galler2 folder/s.

Permissions problem (I think I do not own the folders/files, the web server admin must own)
ps: I never did understand the web server owning the files. I have no problems changing permissions in other folders and files at my web server.

... Gene

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2007-09-28 02:15
 
genecap

Joined: 2007-09-26
Posts: 5
Posted: Fri, 2007-09-28 12:59

It WORKED, thank you, I must dig a little deeper into the FAQ's.
My gallery.. just starting
http://www.capoferri.com/gallery2install/gallery2

... Gene

 
Defcon

Joined: 2006-08-16
Posts: 28
Posted: Sat, 2009-03-14 11:42
genecap wrote:
It WORKED, thank you, I must dig a little deeper into the FAQ's.
My gallery.. just starting
http://www.capoferri.com/gallery2install/gallery2

... Gene

May u guide my on which part of FAQ did u solve ur problem? I also looking for that. Thanxs

 
genecap

Joined: 2007-09-26
Posts: 5
Posted: Sat, 2009-03-14 13:34

That was a long time ago. I moved my URL to anothr server. But here is my notes:
Copy the theme.tpl file from /themes/<yourThemeName>/templates/ to /themes/<yourThemeName>/templates/local/.

Finally, edit the copy of theme.tpl you just made and remove or change this line:
FROM: {g->logoButton type="gallery2-version"}

TO: {g->logoButton type="gallery2-version"}
<a href="http://EXAMPLE.COM">home</a>

... Gene