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 looked at the help files but I really can not figure out how to do this. (sorry, a rookie) |
|
| Login or register to post comments |

Posts: 17340
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
Posts: 5
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
Posts: 17340
FAQ: How can I upload a theme or module via FTP when I used the preinstaller?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
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
Posts: 18
May u guide my on which part of FAQ did u solve ur problem? I also looking for that. Thanxs
Posts: 5
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