Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, TagMePlugin
Server OS: RedHat Linux
Web server: Apache
Perl version: 5.8.0
Client OS: WindowsXP
Web Browser: IE
Categories: Plugins

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

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-06-16 - SteffenPoulsen
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.