Tags:
create new tag
view all tags

SID-01317: Trouble with TagMe

Status: Unanswered Unanswered TWiki version: 5.1.0 Perl version: 5.12.4
Category: CategoryPlugins Server OS: Ubuntu 11.10 Last update: 14 years ago

Hi,

I have trouble with TagMe. When i add the TagMe to the Set Skin in the TwikiPrweferences like this " * Set SKIN = twikinet,tagme,pattern" all works fine, expecially adding existing tags to topics.

But i don't wont offer tags in all webs, so i remove the tagme from the set skin and add the following line to my WebTopicEditTemplate, my template for new topics.

| *Tags:* | [[%SYSTEMWEB%.TagMeViewAllTags][zeige alle Schlagworte]] | | ^ | <p>%TAGME{ tpaction="%URLPARAM{tpaction}%" web="%WEB%" tag="%URLPARAM{tag}%" }%</p> |

I Edit my port now:

The Line

%TAGME{ tpaction="%URLPARAM{tpaction}%" web="%WEB%" tag="%URLPARAM{tag}%" }%

is important. When Twiki create a topic from this template, the variables are gone. After cration of topic, the line looks like this:

%TAGME{ tpaction="" web="Sandbox" tag="" }%.

How can i transfer a varaible from a template to a topic?

Sorry for the confusion open / closed / unopen...

Thanks Frank

-- FrankFauerbach - 2011-11-03

Discussion and Answer

Edit my Post, please help me

-- FrankFauerbach - 2011-11-03

and open the topic

-- FrankFauerbach - 2011-11-03

May be a better sequence in TWikiPreferences is: * Set SKIN = tagme,twikinet,pattern

If you want tagging turned off for specific webs why not simply define that in the webs' WebPreferences? Such as: * Set SKIN = twikinet,pattern

In template topics you have control over variable expansion, see TWikiTemplates

-- PeterThoeny - 2011-11-03

Hi Peter,

thank you. Thank you in every case to give me support! Your solution is also not so bad and can be an alternative. but i trying to learning... smile

i already try it with

%STARTSECTION{ type="expandvariables" }%
| *Tags:* | [[%SYSTEMWEB%.TagMeViewAllTags][zeige alle Schlagworte]]  |
| ^  | %TAGME{ tpaction="%URLPARAM{tpaction}%" web="%WEB%" tag="%URLPARAM{tag}%" }% |
%ENDSECTION{ type="expandvariables" }%

but it won't work and i don't understand why. Can you give me an workiing example for even this case? it would be very great. Thank you!

-- FrankFauerbach - 2011-11-04

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2012-01-23

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Unanswered
Title Trouble with TagMe
SupportCategory CategoryPlugins
TWiki version 5.1.0
Server OS Ubuntu 11.10
Web server Apache2
Perl version 5.12.4
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2012-01-23 - PeterThoeny
 
  • 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.