Trying to add link onto Header

jah5

Joined: 2006-08-29
Posts: 3
Posted: Tue, 2006-08-29 10:31

PHP Newbie here,

I'm using Gallery v1 which comes with iPower Hosting
Accounts.

I've looked at Docs and most of the info on Sourceforge are
a bunch of dead links?

I'm just trying to add a URL to the top header of this
Gallery so that users can get back to the main website:

http://www.mtdesertisland.net/Gallery/Lacadie

Can anyone help?
Many thanks

Login or register to post comments
fryfrog

Joined: 2002-10-30
Posts: 3233
Posted: Tue, 2006-08-29 13:22

You probably want to edit some of the tpl files in your theme.

Try http://codex.gallery2.org/ for documentation, its the big link on the upper right.
_________________________________
Support & Documentation || Donate to Gallery || My Website

Login or register to post comments
jah5

Joined: 2006-08-29
Posts: 3
Posted: Tue, 2006-08-29 13:45
Quote:

I've looked there for quite a while actually. I don't think what I'm trying to do is anywhere in that documentation.

If anyone out there knows how to add a link into the top header - I would appreciate your help.
Even if it's just telling me which file to edit - located in which folder.

thanks

Login or register to post comments
fryfrog

Joined: 2002-10-30
Posts: 3233
Posted: Tue, 2006-08-29 17:39

http://codex.gallery2.org/index.php/Gallery2:Themes would probably be where to find it, but it is deep and maybe hard to understand.

In your ./gallery2/themes/<name of theme you use>/templates/ you will find a bunch of ".tpl" files. They are named after what they control, so poke around in there. You should create a directory named "local" where you find the tpl file you want to edit. Now, copy that file into the "local" dir you just made and edit it the *COPY*. This way, if you update your G2 you won't lose your customizations.
_________________________________
Support & Documentation || Donate to Gallery || My Website

Login or register to post comments
jah5

Joined: 2006-08-29
Posts: 3
Posted: Tue, 2006-08-29 17:54
Quote:

ah, that's the problem - I don't have any tpl files - I'm not using Gallery2 - I'm using Gallery v1 and I've checked every directory - no tpl files.

Can you think of any thing else?

thanks

Login or register to post comments
fryfrog

Joined: 2002-10-30
Posts: 3233
Posted: Tue, 2006-08-29 17:56

Right, well the main thing I can think of would be to post this in the Gallery 1 forums instead of the Gallery 2 forums. That way, someone who knows Gallery 1 will answer! Sorry, I should have noticed it in your first post but didn't. I'll move your thread if I can.

Also, you seem to be putting your own reply into a quote block. Generally, the quote blocks are used to quote *someone else*. It makes it look like you are quoting someone who said something above. It is a bit odd :)
_________________________________
Support & Documentation || Donate to Gallery || My Website

Login or register to post comments
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13452
Posted: Tue, 2006-08-29 18:05

Also, reports on dead links on sf.net would be useful.


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

Login or register to post comments
Blugold

Joined: 2006-08-29
Posts: 1
Posted: Tue, 2006-08-29 18:17

"PHP Newbie here,

I'm using Gallery v1 which comes with iPower Hosting
Accounts.

I've looked at Docs and most of the info on Sourceforge are
a bunch of dead links?

I'm just trying to add a URL to the top header of this
Gallery so that users can get back to the main website:

http://www.mtdesertisland.net/Gallery/Lacadie

Can anyone help?
Many thanks"

Crazy ideas here. Nubie also. Make the last picture in you album an large 'back' arrow as the link or include the link itself.
Now that I've said it. Guess I'll try it. :-)

http://www.moapavalleycactuscruisers.com/

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 14524
Posted: Wed, 2006-08-30 03:24

edit /gallery/html_wrap/galler.header.default and save it without the .default extention.

Dave
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

Login or register to post comments