Skip to content

Commit

Permalink
Item8841: remove redundant mention of integrating with =configure= in…
Browse files Browse the repository at this point in the history
… EmptyPlugin.pm

git-svn-id: http://svn.foswiki.org/branches/Release01x00@7883 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
DanDascalescu authored and DanDascalescu committed Jun 23, 2010
1 parent 4ba4b09 commit 1698590
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions EmptyPlugin/lib/Foswiki/Plugins/EmptyPlugin.pm
Expand Up @@ -30,19 +30,16 @@ each line of the function. For efficiency and clarity, you should
only uncomment handlers you actually use.
__NOTE:__ When developing a plugin it is important to remember that
Foswiki is tolerant of plugins that do not compile. In this case,
the failure will be silent but the plugin will not be available.
See %SYSTEMWEB%.InstalledPlugins for error messages.
__NOTE:__ Foswiki:Development.StepByStepRenderingOrder helps you decide which
rendering handler to use. When writing handlers, keep in mind that these may
be invoked
on included topics. For example, if a plugin generates links to the current
topic, these need to be generated before the =afterCommonTagsHandler= is run.
After that point in the rendering loop we have lost the information that
the text had been included from another topic.
be invoked on included topics. For example, if a plugin generates links to the
current topic, these need to be generated before the =afterCommonTagsHandler=
is run. After that point in the rendering loop we have lost the information
that the text had been included from another topic.
=cut

Expand Down Expand Up @@ -127,8 +124,7 @@ sub initPlugin {
# on integrating your plugin configuration with =configure=.

# Always provide a default in case the setting is not defined in
# LocalSite.cfg. See %SYSTEMWEB%.Plugins for help in adding your plugin
# configuration to the =configure= interface.
# LocalSite.cfg.
# my $setting = $Foswiki::cfg{Plugins}{EmptyPlugin}{ExampleSetting} || 0;

# Register the _EXAMPLETAG function to handle %EXAMPLETAG{...}%
Expand Down

0 comments on commit 1698590

Please sign in to comment.