NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item2558: Improve Skin Templates documentation

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine Documentation  
I have been trying to understand SkinTemplates, "Finding Skin Templates". Either I am a moron or the documentation is wrong at points 5, 7 and 9.

For example point 7, try to create a special view template topic in a web and call it ViewTemplate. It does not work.

My guess:
  • the search order defines the overriding order in reverse
  • or the search order defines when to stop looking any further (no overriding)

I have added a couple of examples of template names that worked.

For more I need some help. I will add Crawford here as he is the most knowledgeable in this area.

-- ArthurClemens - 03 Jan 2010

Well, it was right when I wrote the doc, but a number of people have dabbled in this code (e.g. adding the template search path) since I last touched it. Which is another way of saying "your guess is as good as mine". The only way to be sure is to reverse-engineer the code frown

-- CrawfordCurrie - 10 Jan 2010

As f***ing usual, the code was changed without the doc being updated. More bottom-wiping frown

-- CrawfordCurrie - 06 Jun 2010

ItemTemplate edit

Summary Improve Skin Templates documentation
ReportedBy ArthurClemens
Codebase 1.0.8, trunk
SVN Range
AppliesTo Engine
Component Documentation
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:5910 Foswikirev:5911 Foswikirev:7651 Foswikirev:7652
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r7 - 04 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads