Changeset 1223


Ignore:
Timestamp:
12/09/08 18:38:40 (3 years ago)
Author:
CrawfordCurrie
Message:

Item255: minor detox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EmptyPlugin/data/System/EmptyPlugin.txt

    r920 r1223  
    1313The following plugin handlers are defined. 
    1414 
    15 %INCLUDE{"pod:Foswiki::Plugins::EmptyPlugin" level="3"}% 
     15%INCLUDE{"doc:Foswiki::Plugins::EmptyPlugin" level="3"}% 
    1616 
    17 ---++ Plugin Settings 
     17---++ Plugin Preferences 
    1818 
    19 Plugin settings are stored as [[%SYSTEMWEB%.PreferenceSettings][preference settings]]. To reference 
    20 a plugin setting write ==%<nop>&lt;plugin&gt;_&lt;setting&gt;%==, i.e. ==%<nop>EMPTYPLUGIN_SHORTDESCRIPTION%== 
     19Preference settings specific to your plugin can be stored as [[%SYSTEMWEB%.PreferenceSettings][preference settings]]. Default values for these preferences can be set in plugin topics; for example: 
     20   * One line description, used by other tools: 
     21      * Set SHORTDESCRIPTION = Empty Plugin used as a template for new Plugins 
     22This is then referenced using ==%<nop>EMPTYPLUGIN_SHORTDESCRIPTION%==. 
    2123 
    22    * One line description, is shown in the %SYSTEMWEB%.TextFormattingRules topic: 
    23       * Set SHORTDESCRIPTION = Empty Plugin used as a template for new Plugins 
     24If you want to redefine a preference setting, for example in %USERSWEB%.SitePreferences, or in a web preferences or in your personal preferences, you must define the 'long form' e.g. 
     25      * <nop>Set EMPTYPLUGIN_MYPREFERENCE = my preference 
    2426 
    2527---++ Plugin Info 
Note: See TracChangeset for help on using the changeset viewer.