Please forgive me if I am asking this in the wrong place. I looked at all the catagories & forum topics before posting. I didn't see one that fit this question.
I am using Gallery 2.2.2
In the themes folder, carbon theme. There is a file named ads.tpl. What is the proper format to use this file? Do I simply put a href command to a graphic? How do I use this file?
Posts: 27300
Yes regular HTML will work
http://codex.gallery2.org/Gallery2:Editing_Templates
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 11
Thank you Dave. I appreciate the help.
Posts: 11
Ok, dumbass question time.
I edited the ads.tpl file.
I copied it into a folder named local.
Where does this folder need to be located?
I tried it in the root of my site.
I tried it in the gallery folder.
I tried it in the gallery/themes/carbon/templates folder.
Posts: 27300
If you don't understand the directions then please update them so others can benifit.
Original location: gallery/themes/carbon/templates/*.tpl
new location: gallery/themes/carbon/templates/local/*.tpl
where * is the file you are editing.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 3236
To put it into English terms, when you find a file you want to edit (and don't want updates to Gallery to ruin your changes) you should create a directory named "local" right where you find the file, copy the file you intend to edit *into* the "local" dir and edit to your heart's content.
_________________________________
Support & Documentation || Donate to Gallery || My Website
Posts: 11
Thanks FryFrog.
I have the folder "Local" in the correct place. It does not work. So I'll keep playing with it.
Posts: 27300
It should be local with a lower case l
URL?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 11
Yes, I do have ALL the path in lower case.
I appreciate you throwing all these ideas at me.
I'm sure I'll eventually find the problem.