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
--
PeterLohmann - 06 Dec 2007
Answer
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