• 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.

Item4463: Template Path is wrong for Skin customization using topics

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


There has been considerable discussion regarding the TemplatePath. Historical information can be found at...

As a result prior focus on TemplatePath, it is now configurable. I'm currently working with our TWiki administrators to have our path changed; however, I believe the current TWiki TemplatePath is not quite right and should be updated as well.

Basically it seems that if there is a skin available, it should always be selected. This is not the case when a topic skin template is created. For example, SKIN = test. The $web.TestSkinViewTemplate is not selected because the /templates/view.tmpl is sooner in the search order. For those of us that do not have access to the /templates directory, but would like to use skins to customize a set of topics this creates a problem.

In TWiki-4.1.2 the TemplatePath is

$TWiki::cfg{TemplatePath} =

I think the search order should be

$TWiki::cfg{TemplatePath} =

If multiple skins have been specified, I would expect TWiki to search all possible skin locations for the first skin, before searching for subsequent skins (e.g. SKIN = test, pattern would still find $web.TestSkinViewTemplate instead of /templates/$web/view.pattern.tmpl).

Thanks, dB...

-- TWiki:Main/DonBowden - 17 Aug 2007

Bumping - no interest it seems.

-- TWiki:Main.SteffenPoulsen - 22 Dec 2007

I think this is related to Item5425 too.

-- TWiki:Main.SvenDowideit - 31 Mar 2008

Summary Template Path is wrong for Skin customization using topics
ReportedBy TWiki:Main.DonBowden
Codebase 4.1.2
SVN Range TWiki-4.1.2, Fri, 10 Aug 2007, build 14536
AppliesTo Engine

Priority Normal
CurrentState New


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2008-03-31 - SvenDowideit
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback