Tags:
create new tag
view all tags

Question

I'm an experienced Perl programmer. I've used TWiki a little bit, and wiki's in general a fair amount, but I'm not familiar with the internals of TWiki. I think that a TWiki plugin will be the best way to solve an application need that I have. I've dug around, and found the basic documentation, but I'm looking for something that might be a good introduction in to what is feasible with a Plugin.

Specifically, what I'm trying to accomplish is to have a fragments of a WikiPage that are not visible to every user.

-- DavidCorbin - 12 Jul 2002

Answer

The user variable is initialized at init time of the Plugin. Based on the user you can filter out parts of a text in commonTagsHandler() (expansion of variables, done earlier) or in startRenderingHandler() (rendering of TWiki markup, done later). This assumes that the user is authenticated for view, for example by authenticating the view script.

-- PeterThoeny - 13 Jul 2002

Question

While I do find that to be useful information to the specific task, it doesn't address the original question, which is an overview of what all the different plugin methods are capable of.

-- DavidCorbin - 14 Jul 2002

Read the details in TWikiPlugins.

How about helping with the documentation? After all, its an open source project wink

-- PeterThoeny - 14 Jul 2002

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2002-07-14 - 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.