DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:extension

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:extension [2015-05-02 21:30] – [Extension Manager Plugin] 73.179.222.230plugin:extension [2023-08-24 23:30] (current) Klap-in
Line 5: Line 5:
 author     : Michael Hamann author     : Michael Hamann
 email      : michael@content-space.de email      : michael@content-space.de
-type       : admin +type       : admin, cli 
-lastupdate : 2014-06-15+lastupdate : 2023-04-04
 compatible : (bundled) compatible : (bundled)
 depends    :  depends    : 
Line 19: Line 19:
  
 screenshot_img : plugin:extensionmanager.png screenshot_img : plugin:extensionmanager.png
- +----
- +
  
 ===== Description ===== ===== Description =====
  
-The Extension Manager plugin allows [[config:superusers]] to administer installed plugins and templates and install new ones. +The Extension Manager plugin allows [[config:superusers]] to administer installed plugins and templates and install new ones as listed in the [[plugins]] and [[template]] repositories
- +
-https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQaZHO5g19-7cY7W9M996p2wFgNALwg59U_6OI9YxfLR8PF3Vw-DA+
  
 ===== Usage ===== ===== Usage =====
  
-The Extension Manager is accessible from the admin screen (Login as superuser, click "Admin" and choose "Extension Manager").+The Extension Manager is accessible from the admin screen (Login as superuser, click "Admin" and choose "{{https://raw.githubusercontent.com/dokuwiki/dokuwiki/master/lib/plugins/extension/admin.svg?14}} Extension Manager").
  
-[[http://www.rumberos.net/images/2013/AndressaSoaresPelada055.jpg]] 
 ==== Listing Installed Plugins and Templates===== ==== Listing Installed Plugins and Templates=====
  
-The Installed Plugins listing is the default action of the Extension Manager. The second tab lists the Installed templates. Each plugin or template is shown in its own row. The right hand side column contains action buttons like Disable/Enable, Install/Uninstall/Re-install and Update.+The Installed Plugins listing is the default action of the Extension Manager. The second tab lists the Installed templates. Each plugin or template is shown in its own row. The right hand side column contains action buttons like Disable/Enable, Install/Uninstall/Re-install and Update. Not all buttons are available in all circumstances. For example, there is no enable button for templates.
  
 Plugins and templates with gray font are currently disabled. Plugins and templates with gray font are currently disabled.
  
-==== Enabling/Disabling Plugins ====+==== Enabling/Disabling Plugins and Templates ====
  
 To disable or enable a plugin, you use the Disable and Enable buttons on the right hand side. To disable or enable a plugin, you use the Disable and Enable buttons on the right hand side.
Line 46: Line 41:
 Disabled plugins will no longer be loaded by DokuWiki, their [[devel:css|stylesheets]] and [[devel:JavaScript]] won't be loaded, and their syntax will no longer have any effect. Disabled plugins will no longer be loaded by DokuWiki, their [[devel:css|stylesheets]] and [[devel:JavaScript]] won't be loaded, and their syntax will no longer have any effect.
  
 +Templates are activated and deactivated by selecting the [[config:template|active template]] in the [[plugin:config|Configuration Manager]].
 ==== Display Extension Details ==== ==== Display Extension Details ====
  
Line 95: Line 91:
 For the update process to work properly it is necessary that the date "Last updated on" in the Dokuwiki Extension repository equals the date in the file [[devel:plugin_info|plugin.info.txt]] for plugins and [[devel:template_info|template.info.txt]] for templates in the source tarbal/zipfile. If this is not the case: the update will not take place or the "Update" signal persists. For the update process to work properly it is necessary that the date "Last updated on" in the Dokuwiki Extension repository equals the date in the file [[devel:plugin_info|plugin.info.txt]] for plugins and [[devel:template_info|template.info.txt]] for templates in the source tarbal/zipfile. If this is not the case: the update will not take place or the "Update" signal persists.
  
 +If an extension is updated, the Extension Manager will remove all the files listed in the [[devel:deleted.files]] file if such a file is added to the extension.
 ==== Uninstalling Extensions ==== ==== Uninstalling Extensions ====
  
Line 106: Line 103:
   - go to the ''/lib/tpl'' (for a template) or ''/lib/plugins'' folder   - go to the ''/lib/tpl'' (for a template) or ''/lib/plugins'' folder
   - find the critical extension's folder and delete it   - find the critical extension's folder and delete it
 +
 +Alternatively, if the goal is to disable temporary the plugin due to issues, you can also first try to disable the plugin by adding the following line to the local config.
 +<code php /conf/plugins.local.php>
 +$plugins['pluginname'] = 0;
 +</code>
 +
 +===== Command Line Interface =====
 +
 +The plugin also installs a [[:cli|command line plugin]] which allows to do all the actions mentioned above from the command line. This is especially useful if you want to automate the setup of your DokuWiki. Eg. using salt or ansible.
 +
 +Run the following command in your DokuWiki directory for a list of commands and options:
 +
 +  ./bin/plugin.php extension --help
 +
  
  
Line 124: Line 135:
  
 ===== Development ===== ===== Development =====
-The rewrite of DokuWiki's [[plugin:plugin|Plugin Manager plugin]] was part of [[devel:gsoc|Google Summer of Code 2011]] with [[user>piyushmishra|Piyush Mishra]] as developer. Before inclusion it is rewritten by [[user>Michitux]] and [[user>Andi]].+The rewrite of DokuWiki's [[plugin:plugin|Plugin Manager plugin]] was part of [[devel:gsoc|Google Summer of Code 2011]] with [[user>piyushmishra|Piyush Mishra]] as developer. Before inclusion it was rewritten by [[user>Michitux]] and [[user>Andi]].
  
 ===== Bugs/feature requests ===== ===== Bugs/feature requests =====
plugin/extension.1430595025.txt.gz · Last modified: 2015-05-02 21:30 by 73.179.222.230

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki