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