ads.tpl

FXDWG2002

Joined: 2007-08-01
Posts: 11
Posted: Wed, 2007-08-01 02:48

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?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2007-08-01 03:27

Yes regular HTML will work
http://codex.gallery2.org/Gallery2:Editing_Templates

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
FXDWG2002

Joined: 2007-08-01
Posts: 11
Posted: Wed, 2007-08-01 10:50

Thank you Dave. I appreciate the help.

 
FXDWG2002

Joined: 2007-08-01
Posts: 11
Posted: Wed, 2007-08-01 23:59

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.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2007-08-02 04:18

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

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Thu, 2007-08-02 20:42

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

 
FXDWG2002

Joined: 2007-08-01
Posts: 11
Posted: Thu, 2007-08-02 21:03

Thanks FryFrog.
I have the folder "Local" in the correct place. It does not work. So I'll keep playing with it.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2007-08-02 21:50
Quote:
I have the folder "Local"

It should be local with a lower case l

URL?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
FXDWG2002

Joined: 2007-08-01
Posts: 11
Posted: Thu, 2007-08-02 21:53

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.