r2 - 11 May 2008 - 21:12:56 - PeterThoenyYou are here: TWiki >  Support Web > UsingStartSectioninPlugins
Tags:
, create new tag

Question

Hello. I am trying use a plugin to apply custom formatting to specific sections (as defined by the STARTSECTION and ENDSECTION variables). Unfortunately, when I get the TWIKI text into my PERL Script, the Section variables have already been removed. Is there a way to preserve the variables so that they can be used in a plugin script? Thank you in advance.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Plugins
-- JimHelms - 08 Apr 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Use the beforeCommonTagsHandler() callback instead of the commonTagsHandler().

-- PeterThoeny - 11 May 2008

 
Change status to:
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo