Topic: Banner Trouble (different)

Ok, my problem is this. I want to add a new skin, I've got everything down with the style. Now my problem is the banner. The banner can be set by putting it in the main.tpl. Here is the problem, I have the new banner ready but if I change it in the main.tpl, then the new skin will have a banner but the old one wont. So where do I go and change so it directs to a different main.tpl?

Re: Banner Trouble (different)

http://www.punres.org/style_compatible.txt

that will let you use include/template/stylename/main.tpl

Re: Banner Trouble (different)

Heh, thanks. But what do I change to redirect to a another header file? Or is there a link you can give me where this all explained?

Re: Banner Trouble (different)

Huh? You want a specific style to load its own main.tpl? or have i misunderstood you?

Re: Banner Trouble (different)

Yes, I want a specific style to load it's own tpl. But if I edit the header file won't I still be in the same boat? Isn't everything directed from one file to another? If I change to the header file to load main2.tpl, then what about main.tpl? The first skin wont have a main tpl.

6

Re: Banner Trouble (different)

No. The way that mod works is to look for a tpl file with the same name as the style and use it if it exists. If it doesn't exist it defaults to using the normal main.tpl.

What I don't understand is why it is necessary to edit main.tpl just to add a banner, it would be easier just to add it as a background image in the stylesheet.

Re: Banner Trouble (different)

Paul wrote:

No. The way that mod works is to look for a tpl file with the same name as the style and use it if it exists. If it doesn't exist it defaults to using the normal main.tpl..

I got the impression that's what it did. Though I'm like 'drunk' and no idea what parts to edit in there to make my second style load the second tpl.

Re: Banner Trouble (different)

Basically how do I get that mod to let me load my fist style with it's corresponding tpl and my second style to load with it's tpl.