Tags:
create new tag
view all tags

Question

Is it possible to set plugin settings on a per web basis? I would like to configure the SectionalEditPlugin separately for a web, e.g. a different style setting for the Sandbox Web.

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Plugins

-- PeterLohmann - 06 Dec 2007

Answer

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.

Yes. Prepend the plugin setting with the plugin name e.g. DEBUG in SectionalEditPlugin is set using SECTIONALEDITPLUGIN_DEBUG.

-- CrawfordCurrie - 07 Dec 2007

Sorry, but it does not work for me this way. In the global plugin preferences, there is a style set the following way: style="border: black thin dotted".

I appended the following to my Web:

    • Set SECTIONALEDITPLUGIN_STYLE = style="border: black thin solid"

and directly underneath a (Percent)SECTIONALEDITPLUGIN_STYLE(Percent) to show how it evaluated: style="border: black thin dotted"

So... this is not working

-- PeterLohmann - 14 Dec 2007

Example:

  • SECTIONALEDITPLUGIN_STYLE = style="border: black thin solid"
  • Expands to: style="border: black thin solid"
I have never looked at the code for SectionalEditPlugin to see if this variable exists, but this is the way plugin variables are normally defined.

-- CrawfordCurrie - 22 Dec 2007

Closing. Re-open if needed.

-- PeterThoeny - 02 Feb 2008

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-02-02 - 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.