• 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.
This is the current specification but i believe that it should be rethought. I would suggest that, in most cases, one would not want the UserCommentsTemplate to over-ride all templates provided by TWiki.UserCommentsTemplate and that it would be preferrable to have a parallel implementation for per-web comment templates.

Here is a specific example from my own experience. I am packaging a TWikiApp as a web and have included a custom comment template for use with that plugin. I would not want my templates defined for a narrow use to preclude use locally defined site-wide comment templates.

Therefore, the changes I propose are:

---+ Include !WebCommentsTemplate

Including WebCommentsTemplate if one exist in a particular web.

%TMPL:INCLUDE{"WebComments"}%
  • "hard-wire" the reference to UserCommentsTemplate to the TWiki web.
  • Update the docs to clarify this setup (and perhaps try to make that whole section of the docs a little easier to understand).

If I get some feedback that this makes sense, I'll be glad to make the changes as it's something I can do.

-- TWiki:Main.LynnwoodBrown

This topic was lost from the lists due to not having a codebase field. Rediscovered 3/2/07. Just set it to "No Action" if it is dead.

CC

That sounds fair enough to me, but you might have a problem with all the existing users of CommentPlugin frown

CC

ItemTemplate
Summary CommentPlugin UserCommentsTemplate in webs over-rides TWiki.UserCommentsTemplate
ReportedBy TWiki:Main.LynnwoodBrown
Codebase

SVN Range Tue, 30 May 2006 build 10392
AppliesTo Extension
Component CommentPlugin
Priority Enhancement
CurrentState Confirmed
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2007-03-26 - CrawfordCurrie
 
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