Empty Plugin

%$CREATED_SHORTDESCRIPTION%

Learn how to create your own plugin in DevelopingPlugins. Documentation for Plugin API is in PerlDoc for EmptyPlugin.pm.

TIP Note that EmptyPlugin is documentation only. Its settings are ignored by configure and it cannot be enabled.

Preferences

Plugin preferences should be set using configure, as described in DevelopingPlugins.

You can also use preference settings to define any user-controllable configuration. You are strongly advised to use the name of the plugin as a prefix, to avoid the risk of namespace clashes with other extensions that may try to use the same name.

BAD
  • Set EXAMPLE = Example setting
  • Set FORMAT = %d-%m-%y
Good
  • Set EMPTYPLUGIN_EXAMPLE = Example setting
  • Set EMPTYPLUGIN_FORMAT = %d-%m-%y

Installation

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. "Extensions Operation and Maintenance" Tab -> "Install, Update or Remove extensions" Tab. Click the "Search for Extensions" button. Enter part of the extension name or description and press search. Select the desired extension(s) and click install. If an extension is already installed, it will not show up in the search results.

You can also install from the shell by running the extension installer as the web server user: (Be sure to run as the webserver user, not as root!)
cd /path/to/foswiki
perl tools/extension_installer <NameOfExtension> install

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See https://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Dependencies

None

Change History

   

PackageForm edit

Author %$CREATED_AUTHOR%
Version 1.00
Release %$CREATED_DATE%
Description %$CREATED_SHORTDESCRIPTION%
Copyright %$CREATEDYEAR%, %$CREATED_AUTHOR%, All Rights Reserved
License GPL (GNU General Public License)
Home https://foswiki.org/Extensions/EmptyPlugin
Support https://foswiki.org/Support/EmptyPlugin
Repository https://github.com/foswiki/distro
ExtensionClassification Development
ExtensionType PluginPackage
Compatibility Foswiki 1.0.0
DemoUrl http://foswiki.org
SupportUrl EmptyPlugin
ModificationPolicy FollowsReleaseProcess
Topic attachments
I Attachment Action Size Date Who Comment
EmptyPlugin.md5md5 EmptyPlugin.md5 manage 156 bytes 22 Jan 2018 - 19:13 GeorgeClark  
EmptyPlugin.sha1sha1 EmptyPlugin.sha1 manage 180 bytes 22 Jan 2018 - 19:13 GeorgeClark  
EmptyPlugin.tgztgz EmptyPlugin.tgz manage 15 K 22 Jan 2018 - 19:13 GeorgeClark  
EmptyPlugin.zipzip EmptyPlugin.zip manage 18 K 22 Jan 2018 - 19:12 GeorgeClark  
EmptyPlugin_installerEXT EmptyPlugin_installer manage 4 K 22 Jan 2018 - 19:13 GeorgeClark  
Topic revision: r11 - 22 Jan 2018, GeorgeClark - This page was cached on 17 Feb 2018 - 04:26.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License