mauro: Hello!, new to twiki here, need it for work. Is there a way (without any additional plugin) to add a button or a link in a topic that inserts a predefined text? PeterThoeny: mauro: use any html you want
just create a html form with a buttn
what do you mean by predefined text? mauro: thank you for your answer
I mean, a button, that when pressed adds a text I define for example:
a button or link that says "click here to insert "this text""
"this text" should is inserted in the topic .
make sense ?
I want to have some text choices. Button A, inserst "hello world", button B inserts "The world is cruel" PeterThoeny: look into a custom commentplugin template
http://twiki.org/cgi-bin/view/TWiki/CommentPlugin mauro: will do
thank you PeterThoeny: example custom comment template http://twiki.org/cgi-bin/view/Support/SupportCommentTemplate
then use it as: %COMMENT{ type="support_comment" templatetopic="SupportCommentTemplate" }%
example use in raw view mode: http://twiki.org/cgi-bin/view/Support/SID-01335?raw=debug mauro: awesome ..
thank you PeterThoeny: the generic vote app is another example: http://twiki.org/cgi-bin/view/Sandbox/GenericVote mauro: perfect!
many thanks ***: ChanServ sets mode: +o PeterThoeny
ChanServ sets mode: +o PeterThoeny
ChanServ sets mode: +o PeterThoeny