Initiated by
TWiki:Codev.TemplateUnification
.
Default skin is an exception, but skins tend to offer quite a different display for non-view templates.
app.pattern.tmpl is a utility template for 'application pages' (pages that have single focus, like edit and attach) that is especially useful for add-ons that use topic templates.
So instead of
%TMPL:INCLUDE{"page"}%
%TMPL:INCLUDE{"logo"}%
%TMPL:INCLUDE{"viewtoolbar"}%
%TMPL:INCLUDE{"viewtopicactionbuttons"}%
%TMPL:INCLUDE{"viewbottombar"}%
... and a redefined
content DEF, he can use:
%TMPL:INCLUDE{"app"}%
%TMPL:DEF{"appcontent"}% my contents %TMPL:END%
I propose to support this in the default templates as well by creating
app.tmpl.
--
TWiki:Main/ArthurClemens
- 24 May 2007
As Sven noticed, this is totally redundant as it can be set in
twiki.tmpl.
--
TWiki:Main.ArthurClemens
- 27 May 2007
Non-view pages now simply use:
%TMPL:DEF{"content"}% my content %TMPL:END%
--
TWiki:Main.ArthurClemens
- 27 May 2007
I made a mistake in the topic css (to be included in templates). This should be
templatestyle, in line with
templatescript, and included in the html head.
Grrr, wrong item. Checkin should have been done in
Item4142.
--
TWiki:Main.ArthurClemens
- 09 Jun 2007