1 (edited by Meowmeow 2008-01-28 13:43)

Topic: What do "per-style templates" mean in PunBB 1.3?

See http://dev.punbb.org:

Per-style templates - It will be possible to have one set of templates per style.

What's that?

Welcome to my WoW guild site, the Eternal Reach.

You can also visit Chita, a site built by me, a feral paradise for feline animals.

Re: What do "per-style templates" mean in PunBB 1.3?

right now you have one set of .tpl-files.
With 1.3 you will be able to e.g. create a portal with a style etc.

FluxBB - v1.4.8

Re: What do "per-style templates" mean in PunBB 1.3?

lie2815: Not exactly wink
Basically, it allows each style to customize its layout a little bit more. For example, certain styles may lend themselves to using a banner image in place of a title/description. In that case, the style can write a template for itself without the name/description, without affecting styles that need it.

Re: What do "per-style templates" mean in PunBB 1.3?

How will the styles be installed in 1.3?
Lets say a style has some template tweak, do one need to go and upload files to diferent folders?
It would be cool to be able to wrap styles in a folder, including theis specific templates.

Re: What do "per-style templates" mean in PunBB 1.3?

Every style has its own folder, yes

6

Re: What do "per-style templates" mean in PunBB 1.3?

Youl could also have a default style with your own markup added to the templates, ads for example, which registered users can dispose of by choosing a different style.

Re: What do "per-style templates" mean in PunBB 1.3?

Smartys wrote:

Every style has its own folder, yes

But now it doesn't. hmm

Welcome to my WoW guild site, the Eternal Reach.

You can also visit Chita, a site built by me, a feral paradise for feline animals.

Re: What do "per-style templates" mean in PunBB 1.3?

Meowmeow wrote:

But now it doesn't. hmm

It doesn't?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: What do "per-style templates" mean in PunBB 1.3?

Not in 1.2, we're talking about 1.3

10 (edited by Meowmeow 2008-01-29 12:28)

Re: What do "per-style templates" mean in PunBB 1.3?

I said 1.3. I didn't find any folder about "per-style templates".

Welcome to my WoW guild site, the Eternal Reach.

You can also visit Chita, a site built by me, a feral paradise for feline animals.

Re: What do "per-style templates" mean in PunBB 1.3?

...I'm not understanding you tongue
If a style wants to, it can use its own template files by putting correctly named files within the folder. If it doesn't, it uses the default templates.

12

Re: What do "per-style templates" mean in PunBB 1.3?

Documentation will be around for that stuff any how wink

Re: What do "per-style templates" mean in PunBB 1.3?

Why doesn't "Oxygen" use the "per-style template"?

Welcome to my WoW guild site, the Eternal Reach.

You can also visit Chita, a site built by me, a feral paradise for feline animals.

Re: What do "per-style templates" mean in PunBB 1.3?

Because per-style templates are only needed if you need a template that differs from the default. Oxygen doesn't.

Re: What do "per-style templates" mean in PunBB 1.3?

Will PunBB be released with a "per-style template"? to show how awesome it can be. big_smile

Re: What do "per-style templates" mean in PunBB 1.3?

I don't see what we would add or why, other than as a demo wink