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, sad smile

CC

This would be non-backwards compatible. It is a feature that many will be using.

I am setting no action

-- KennethLavrsen - 29 Mar 2009

ItemTemplate edit

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 No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r5 - 29 Mar 2009, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy