I have a form attached to my page.
I have a
CommentPlugin template that puts up a simple menu to let the user change a data field in the attached TWiki form without the need to cclick Edit.
When the Comment template is defined in
UserCommentsTemplate, it works as expected. However, when it is defined in another topic and I use the templatetopic= parameter to access it, it fails.
%COMMENT{type="statusupdate" target="%INCLUDINGTOPIC%" templatetopic="VickiCommentTemplate"}%
The failure mode is:
- CommentPlugin sees the template and presents the menu onm the screen
- menu item can be selected * On submit, there is an error:
During save of Sandbox.VickiBrownSandbox an error was found by the version control system. Please notify your TWiki administrator.
%RED%No such template def TMPL:DEF{OUTPUT:statusupdate}%ENDCOLOR% at /var/www/twiki-local/lib/TWiki/Plugins/CommentPlugin/Comment.pm line 261.
at /var/www/twiki-local/lib/TWiki/Plugins/CommentPlugin/Comment.pm line 261
...
--
TWiki:Main/VickiBrown
- 10 Oct 2008