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

In the templates

backlinks.pattern.tmpl
changes.pattern.tmpl
editform.pattern.tmpl
edittext.pattern.tmpl
moveattachment.pattern.tmpl
renamewebbase.pattern.tmpl
search.pattern.tmpl
searchbookview.pattern.tmpl
searchformat.pattern.tmpl
viewnoleftbar.pattern.tmpl
viewnotopbar.pattern.tmpl
pattern skin uses the following include construct:
%TMPL:INCLUDE{"view.pattern"}%
or similar. From the spec it is not clear that this should actually work. It would be just as good to have just view here, as the pattern specific template would be found anyway due to the skin. The specification is unclear here, but it seems to me to be a mistake in the templates. -- TW

Incidentally, that was the reason for the problem this morning when resolving Item2907.

If this usage is desired to differentiate templates, e.g., when cover is used, that should be documented in Templates.pm.

However, this does not seem to be a good idea, as there will be no way of overriding such template in the user topics.


I have corrected the templates.

AC

4.1.0 released

KJL

ItemTemplate
Summary PatternSkin: Using incorrect template names in include
ReportedBy TWiki:Main.ThomasWeigert
Codebase ~twiki4
SVN Range TWiki-4.1, Thu, 09 Nov 2006, build 11947
AppliesTo Extension
Component PatternSkin
Priority Normal
CurrentState Closed
WaitingFor

Checkins 12207 12208
TargetRelease minor
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r11 - 2007-01-16 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback