I was wondering if anyone could tell me how I can get a link back to my homepage in the header of every page of my gallery. Right now, all I have is one in the header of the main gallery page, but none in the actual albums. Could you tell me which file to mess with? I messed with the gallery.header.default one for the main gallery page. Any help is greatly appreciated. Thanks in advance.
Matt
Posts: 13451
[Moved to customizations]
Posts: 44
Moved but not answered. I could use the info on this question as well, if anyone has the info?
Thanks!
Posts: 3236
Use wrapper.header and wrapper.footer, they do the entire site. This is a pretty common question that has been answered frequently, see if you can find one of those threads
Posts: 14
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=140449#140449
Posts: 26
JBS, I did that to get the link on my main gallery page, but it doesnt help out with the rest of the gallery. What I am asking is how do I get a link in the header linking back to my home site on EVERY gallery page. I took a look at the wrapper.header and wrapper.footer files and they aint nothing but a bunch of jibberish that I cant make out. Any more ideas?
Posts: 3236
These are the only files that are included in EVERY gallery page. Learn them and enjoy them!
Posts: 14
FastZ
Try this. I just tried it with 3 diff skins and it worked perfect for me.
Open the directory for what ever skin you are using.
creat a folder named tpl
Then in that folder creat a document named header.tpl
add this to the header.tpl
Change the URL to the address to your home page and change the Back to jbsdragracing.com to what you want to say.
Save and close and see how it looks.
Posts: 26
Thanks JBS. That worked wonderfully. Now I just have to mess around with it a bit to make it look exactly like I want. Again...thanks.
Posts: 3
I followed the intructions below exactly to add a link back to my homepage however it doesn't work for me. Is there a bug with this working for gallery v1.4.4?
Posts: 3236
Reading files named *.tpl is a 1.5 feature. Either do this the 1.4.x way or upgrade to 1.5.
Posts: 14
fryfrog
Could they add includeTemplate('header.tpl'); to the wrapper.header.default in 1.4 and it work?
I did not really play with 1.4 much
I like the ability to use the Header.tpl it gives you allot of options
JB.....The Gallery team get a A+ on 1.5 from me :D
Posts: 3236
I spose so, but I couldn't tell you for sure.
Posts: 3
I'd rather not upgrade to 1.5 if I dont have to since I haven't had any other problems. How do I add the link back to the homepage using the 1.4.x way? I apprepricate any suggestions.
Posts: 1301
Read the tut in my sig - they are still written for pre-1.5 pre-tpl file versions of G1.
Gaile
Posts: 5
How to for Albums only, not gallery wide?
TIA mike
Posts: 25953
edit album.header.default and save as album.header
Posts: 1
Yea! that worked for me, thanks a lot for the help, JBSRace1. Now if someone could tell what to add to that code that would make the text change color to white when a mouse is over, I would be extremely gratfull. I am a new at this and I do realize that this common knowledge but for me this stuff is very new. Thanks again.
Posts: 14
I belive all you have to do is change the color for (.title A:hover) in the "screen.css" for the skin that you are using to FFFFFF