[MTOS-dev] Template sets > default_templates
Mark Carey
mark at mt-hacks.com
Tue Apr 8 14:00:48 PDT 2008
On Tue, Apr 8, 2008 at 5:01 PM, Su <hamletcomplex at gmail.com> wrote:
> So, now that we have template sets, is there any block to having the wizard
> use them[1], and getting rid lib/MT/default_templates.pl and
> /default_templates/?
I am not really sure what you asking here, Su. Perhaps you can elaborate.
The default templates need to be defined (registered) and stored
*somewhere*. Essentially the DefaultTemplates.pm and
/default_templates/ directory have always represented a "template
set". The only difference now, is that there is more than one default
set, and plugins can provide additional sets.
> The main issue I can think of is that the default templates are localized
> with a bunch of __trans tags, and I have no idea if that's (currently?)
> possible with template sets.
I believe that template sets can include __trans tags, which will be
processing when the set is installed. I know that this worked with my
Template Installer plugin, even before the new "template sets" feature
was added to MT.
-Mark
More information about the MTOS-dev
mailing list