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.
I also love you both and wish we could all get along.
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.
Templating ... a simple guide
Re: Templating ... a simple guide
Was this ever done, I think it a good idea to have. Will test out later to see if it already there.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} -->
I guess something like
<!-- IF loop.MODULE -->
<!-- INCLUDE {loop.MODULE} -->
<!-- ENDIF -->
Would work
Re: Templating ... a simple guide
Thank's!
-
- Registered User
- Posts: 16
- Joined: Fri Oct 29, 2004 12:28 am
- Location: LI, New York
- Contact:
Re: Templating ... a simple guide
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.
Re: Templating ... a simple guide
hater wrote: I also love you both and wish we could all get along.
lol, that coming from someone who's nick is 'hater'
Re: Templating ... a simple guide
Is it correct to assume that the expression support covers floating point numbers as well?
-
- Registered User
- Posts: 397
- Joined: Tue Jul 20, 2004 6:21 am
- Location: Rotterdam, The Netherlands
- Contact:
Re: Templating ... a simple guide
hmz, just a simple question, is the new templating easier or harder? ( i finally learned to work with .tpl a bit )
Re: Templating ... a simple guide
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.Uchiha Nick wrote:hmz, just a simple question, is the new templating easier or harder? ( i finally learned to work with .tpl a bit )
Re: Templating ... a simple guide
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