Question
I have created a 'KM' web and am trying to work with
TagMePlugins.
I am including the tpaction=add functionality in my default template for a new topic. If the user wants to create a new tag the link takes him to the tagmeplugin topic in the TWiki web. I want it to point to the create new tag functionality that i have copied into my web. How can i do that as
%TAGME{ tpaction="add" }% is all i am writing. How can I change the pointer to create my tag. Hope I have been able to clearly state my question. Let me know if you require any more information. Thanks in advance
Environment
--
PriyaSeth - 09 Jun 2006
Answer
Use
tpaction="newtag" to create a new tag, and
tpaction="add" to add an existing tag to a topic. You can try to build your own form modeled after the form in the "Create New Tag" section in
TagMePlugin. Submitting the form should do a viewauth on a topic and execute a
%TAGME{ tpaction="newtag" tag="brand_new_tag" }% to create the new tag. Instead of hard coded "newtag" and "brand_new_tag" values you should use URLPARAM variables as used in the "Create New Tag" section.
--
PeterThoeny - 09 Jun 2006