• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
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:
  1. Makes a much simpler example as a starting point for new skins
  2. Cuts down on the cruft in the release
  3. Protects classic skin from munging
  4. 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.

SVN 8905

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


Outch, SVN 8926 changed the semantics of TMPL:INCLUDE{"sometemplate"}: it is ok if sometemplate.tmpl does not 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 '';

CC, any comments?


twiki.tmpl writes style information that is also in css.tmpl, but not used (?).

SVN 8971 adds a IE conditional style for scrollable pre text.


form.tmpl seems to be missing mandatory.

SVN 897 restores mandatory and "change form" button style.


Thanks Arthur. I removed the style info and css .tmpls (inherited from ClassicSkin).

SVN 8977

Next stage is to eliminate some more of the redundant .tmpl files e.g. oopsleaseconflict, which should be done in oopsattention.tmpl+messages.tmpl


TestUser accidentially committed in, removed. SVN 9179.

-- SP

closing as done.

-- SvenDowideit - 31 Jul 2008

Summary Simplify the backup skin
ReportedBy CrawfordCurrie

SVN Range

AppliesTo Engine

Priority Enhancement
CurrentState Closed

Checkins 7770 8905 8926 8951 8954 8956 8970 8971 8972 8975 8976 8977 8978 8982 8992 9179
TargetRelease major
Edit | Attach | Watch | Print version | History: r15 < r14 < r13 < r12 < r11 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r15 - 2008-07-31 - SvenDowideit
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback