Now that classic skin and pattern skin have both been moved to Contribs (SVN 7770), we can simplify the default templates. This has a number of benefits:
- Makes a much simpler example as a starting point for new skins
- Cuts down on the cruft in the release
- Protects classic skin from munging
- The default templates can be rearchitected to act as a foundation for themes
The goal is a simple CSS based skin (though it must still work without CSS) with a more up-to-date look-and-feel, and simpler presentation than classic skin.
Top prio should be to get the base templates support the state of afairs in the PatternSkin
. We should
delay a revamp of the template architecture until dakar is released. So don't reach for the honey pot right now.
No. Pattern skin is pattern skin; the base templates need to be a lot simpler than that (no left bar, really simple header and footer).
First step is to decouple the Pattern and CLassic skins from reliance on the base templates.
Then reorganise the TMPL:DEFs so they are understandable. I added some useful debugging to Templates.pm in the process, and simplified the headers and footers a bit.
SVN 8926 changed the semantics of
: it is ok if
exist. This mechanism is heavily under use in the NatSkin
to componentize it as things may be overwritten by implementing
certain templates which needn't to be defined by default. Right now, the patch below cures the symptoms again:
--- lib/TWiki/Templates.pm (revision 8964)
+++ lib/TWiki/Templates.pm (working copy)
@@ -384,7 +384,6 @@
- throw Error::Simple( 'Template '.$name.' was not found' );
+ return '';
, any comments?
writes style information that is also in
, but not used (?).
SVN 8971 adds a IE conditional style for scrollable pre text.
form.tmpl seems to be missing
SVN 897 restores
and "change form" button style.
Thanks Arthur. I removed the style info and css .tmpls (inherited from ClassicSkin
Next stage is to eliminate some more of the redundant .tmpl files e.g. oopsleaseconflict, which should be done in oopsattention.tmpl+messages.tmpl
accidentially committed in, removed. SVN 9179.
closing as done.
- 31 Jul 2008