Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:plugins:installation [2016/12/27 11:10]
fasse [Install plugin into an Admidio page]
en:plugins:installation [2018/09/25 22:03]
fasse [How do I update a plugin?]
Line 12: Line 12:
  
 The installation of a plugin within an Admidio page is really simple. Go to the file **adm_themes/​modern/​my_body_bottom.php** and add at the corresponding place the following code: The installation of a plugin within an Admidio page is really simple. Go to the file **adm_themes/​modern/​my_body_bottom.php** and add at the corresponding place the following code:
-<code php><?​php include(ADMIDIO_PATH . FOLDER_PLUGINS . '/​adm_plugins/​birthday/​birthday.php'​);​ ?></​code>​+<code php><?​php include(ADMIDIO_PATH . FOLDER_PLUGINS . '/​birthday/​birthday.php'​);​ ?></​code>​
 If you are within a PHP part of your page than you must only add: If you are within a PHP part of your page than you must only add:
-<code php>​include(ADMIDIO_PATH . FOLDER_PLUGINS . '/​adm_plugins/​birthday/​birthday.php'​);</​code>​+<code php>​include(ADMIDIO_PATH . FOLDER_PLUGINS . '/​birthday/​birthday.php'​);</​code>​
  
 Now reload the Admidio page and the plugin should be shown.\\  ​ Now reload the Admidio page and the plugin should be shown.\\  ​
Line 77: Line 77:
  
 ===== How do I update a plugin?​===== ===== How do I update a plugin?​=====
-If there is an update, because of a bug fix, a new feature, or due to an incompatibility with current Admidio version, ​usually only the PHP script of the plugin ​is to be replaced. Download the latest version from [[http://​forum.admidio.org/​viewforum.php?​f=9|Plugin Area]] ​ and replace the existing ​PHP file with new ones. The plugin ​folder ​should //never// been replaced, because all settings are going to be lost then. Special features of the update are mentioned in the **readme.txt** ​ in the plugin folder.+If there is an update, because of a bug fix, a new feature, or due to an incompatibility with current Admidio version, ​you can replace ​the plugin ​folder. Download the latest version from [[http://​forum.admidio.org/​viewforum.php?​f=9|Plugin Area]] ​ and replace the existing ​plugin folder ​with the new folder ​of the downloaded zip-file. Special features of the update are mentioned in the **readme.txt** ​ in the plugin folder.
  
  • en/plugins/installation.txt
  • Last modified: 2018/09/25 22:03
  • by fasse