Oh yeh, sorry missed that.eviL3 wrote:Has been answered a few posts above: viewtopic.php?p=207531#p207531
[RFC|Accepted] Pre-Compile Template Includes
Re: [RFC] Pre-Compile Template Includes
Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
- imkingdavid
- Registered User
- Posts: 1050
- Joined: Thu Jul 30, 2009 12:06 pm
Re: [RFC] Pre-Compile Template Includes
I think that this would be a great idea. I know firsthand how difficult it is to update multiple styles to support even a couple MODs. Having the template edits compiled through includes and PHP would be a great alternative.
Re: [RFC] Pre-Compile Template Includes
I like the proposal. It would allow injecting template INCLUDE statements to make the injected template code style-independent. Thumbs up.
Would there be any way to control the order in which the template code is injected? Would the proposed hook priorities allow that?
Would there be any way to control the order in which the template code is injected? Would the proposed hook priorities allow that?
Re: [RFC] Pre-Compile Template Includes
PreciselyeviL3 wrote: Would there be any way to control the order in which the template code is injected? Would the proposed hook priorities allow that?
No support via PM.
Trust me, I'm a doctor.
Trust me, I'm a doctor.
Re: [RFC] Pre-Compile Template Includes
Excellent idea. Many mods use the same areas and template edits.
Some off the top of my head I would find useful in overall_header and overall_footer:
VERY_TOP
META
EARLY_SCRIPTS
HEAD_END
BODY_BEGIN
EXTRA_NAVIGATION
BEFORE_COPYRIGHT
AFTER_COPYRIGHT
BODY_END
Some off the top of my head I would find useful in overall_header and overall_footer:
VERY_TOP
META
EARLY_SCRIPTS
HEAD_END
BODY_BEGIN
EXTRA_NAVIGATION
BEFORE_COPYRIGHT
AFTER_COPYRIGHT
BODY_END