Templating ... a simple guide

All style (template, theme and imageset) related questions for the new release; advice, feedback here please.
Post Reply
hater
Registered User
Posts: 59
Joined: Sun Jul 06, 2003 9:00 am

Re: Templating ... a simple guide

Post by hater »

For the record I'd like to state that I've using a lot of Phiirtks MODs using the styles template 2.0 on my phpbb2.08 without problem, regardless of object handling or parsing or whatever. :D

I also love you both and wish we could all get along. :D

CyberAlien, this also helps explain a lot of what's being 'backported' in your 2.0 E.S. MOD, and I am greatful for this preview.

User avatar
Viperal2
Registered User
Posts: 223
Joined: Tue Jun 08, 2004 9:28 pm
Contact:

Re: Templating ... a simple guide

Post by Viperal2 »

psoTFX wrote:Well, we don't have a plug-in system like that in 2.2 so the issue is somewhat moot. However the situation you describe could be solved by simply allowing vars within the INCLUDE directive, e.g. <!-- INCLUDE {loop.MODULE} -->
Was this ever done, I think it a good idea to have. Will test out later to see if it already there.

I guess something like
<!-- IF loop.MODULE -->
<!-- INCLUDE {loop.MODULE} -->
<!-- ENDIF -->

Would work
What is The Viperal ?

http://developer.berlios.de/projects/viperals/" target="_blank

koko
Registered User
Posts: 8
Joined: Sun Jan 04, 2004 4:27 pm

Re: Templating ... a simple guide

Post by koko »

:roll: :roll: :roll:
:roll: Thank's! :roll:
:roll: :roll: :roll:

maddog39
Registered User
Posts: 16
Joined: Fri Oct 29, 2004 12:28 am
Location: LI, New York
Contact:

Re: Templating ... a simple guide

Post by maddog39 »

I have maid plenty of themes for phpBB2.0x but I cant understand why they wont appear in the add styles area. In this version does that still happen.

anakha
Registered User
Posts: 2
Joined: Sun Jun 20, 2004 9:09 am

Re: Templating ... a simple guide

Post by anakha »

hater wrote: I also love you both and wish we could all get along. :D

lol, that coming from someone who's nick is 'hater' :D

Not Radio
Registered User
Posts: 159
Joined: Mon Oct 27, 2003 12:07 am
Contact:

Re: Templating ... a simple guide

Post by Not Radio »

Is it correct to assume that the expression support covers floating point numbers as well?

Uchiha Nick
Registered User
Posts: 397
Joined: Tue Jul 20, 2004 6:21 am
Location: Rotterdam, The Netherlands
Contact:

Re: Templating ... a simple guide

Post by Uchiha Nick »

hmz, just a simple question, is the new templating easier or harder? ( i finally learned to work with .tpl a bit :) )
Image

ElbertF
Registered User
Posts: 583
Joined: Fri Dec 03, 2004 4:35 pm
Location: tracing..
Contact:

Re: Templating ... a simple guide

Post by ElbertF »

A little bit harder ;)

Not Radio
Registered User
Posts: 159
Joined: Mon Oct 27, 2003 12:07 am
Contact:

Re: Templating ... a simple guide

Post by Not Radio »

Uchiha Nick wrote:hmz, just a simple question, is the new templating easier or harder? ( i finally learned to work with .tpl a bit :) )
That's hard to say. It's easier in that you don't have to make code changes to control the manner in which output elements are displayed. It's harder in that you need to learn and understand the new constructs that have been introduced which requires an understanding of the basic control structures and logic progression.

jcisio
Registered User
Posts: 2
Joined: Wed Jan 19, 2005 9:38 pm

Re: Templating ... a simple guide

Post by jcisio »

I can't search in this forum. So then a simple problem: the first line of overall_header template is <?xml ... ?> is deleted by the template system :mrgreen:

Post Reply