• 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 file TWiki/CommentsTemplate there is a line


And I have such a UserCommentsTemplate file

If I change the include to


Then it gets included OK. It seems the TWIKIWEB is not expanded inside the TMPL:INCLUDE


I was just diagnosing this same problem this morning, after upgrading to 4.0.1. However, I don't think you want the TWiki. on there, since that defeats the search path for the template. So, I think the include line should be changed to:


Note that without the explicit web name, you have to leave off Template since the template include processing adds that portion itself (otherwise, you get a search for UserCommentsTemplateTemplate).

The include line for %TWIKIWEB%.UserTemplates should also be changed to reference TWiki.UserTemplates. Here, I think you do want the explicit web, as that was the only way it worked when UserTemplates was in (current) use.


The fixer of Item1412 changed the templates, and then didn't revert the change correctly which is the reason for the confusion. Reverted in SVN 8788 and uploaded


Summary CommentPlugin will not include the UserCommentsTemplate file
ReportedBy TWiki:Main.KennethLavrsen

SVN Range Sun, 29 Jan 2006 build 8586
AppliesTo Extension
Component CommentPlugin
Priority Normal
CurrentState Closed

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