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 [2020/11/14 08:00] fasseen:plugins:installation [2021/09/22 11:09] (current) fasse
Line 8: Line 8:
 ===== How do I install plugins? =====  ===== How do I install plugins? ===== 
 Download the plugin from [[en:plugins | our plugin area]] and unpack the zip file. Copy the folder with the files in the folder ** adm_plugins ** in your Admidio folder.  If the folder adm_plugins  does not exist, it must first be created yet. This should be on the same level as adm_my_files. Download the plugin from [[en:plugins | our plugin area]] and unpack the zip file. Copy the folder with the files in the folder ** adm_plugins ** in your Admidio folder.  If the folder adm_plugins  does not exist, it must first be created yet. This should be on the same level as adm_my_files.
- 
-==== Install plugin into an Admidio 3 page ==== 
- 
-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 . '/birthday/birthday.php'); ?></code> 
-If you are within a PHP part of your page than you must only add: 
-<code php>include(ADMIDIO_PATH . FOLDER_PLUGINS . '/birthday/birthday.php');</code> 
- 
-Now reload the Admidio page and the plugin should be shown.\\   
-Since version 3.0 all css files of the plugins will be loaded automatically and must not be added separatly. 
  
 ==== Install plugin into an Admidio 4 page ==== ==== Install plugin into an Admidio 4 page ====
Line 45: Line 35:
  
 Then you can reload the overview page and your plugin should be visible. Then you can reload the overview page and your plugin should be visible.
 +
 +==== Install plugin into an Admidio 3 page ====
 +
 +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 . '/birthday/birthday.php'); ?></code>
 +If you are within a PHP part of your page than you must only add:
 +<code php>include(ADMIDIO_PATH . FOLDER_PLUGINS . '/birthday/birthday.php');</code>
 +
 +Now reload the Admidio page and the plugin should be shown.\\  
 +Since version 3.0 all css files of the plugins will be loaded automatically and must not be added separatly.
  
 ==== Install plugins outside of an Admidio page ==== ==== Install plugins outside of an Admidio page ====
Line 96: Line 96:
  
 ===== Where can I configure the plugins?===== ===== Where can I configure the plugins?=====
-You can configure most plugins via **config.php** file that is located in the same folder as the plugin. Here are some variables with default values available. This you can customize according to your needs. +You can configure most plugins via **config.php** file. For this purpose, a **config_sample.php** file is usually delivered, which should be located in the folder of the plugin. You can simply rename this file to **config.php**. Here are some variables with default values available. You can change them according to your needs.  
-Does the plugin have a CSS file, it can be customized using the the layout of the plugin. + 
-Updating a plugin, these files should not been necessarily overwritten. In case new settings or CSS settings are added by the update, then the new variable or CSS settings should be copied from the downloaded files into the existing files //(config.php and pluginname.css)// of the plugin and the desired values can be customized .+If the plugin has its own CSS file, the layout of the plugin can be adjusted via this file.  
 + 
 +When updating the plugin, these two files need not and should not be overwritten. If new settings or CSS settings are added by the update, the new variables or CSS settings can be copied from the **config_sample.php** into the previous files //(config.php and pluginname.css)// of the plugin and the desired values can be inserted.
  
 An example of integration of multiple plugins in a sidebar you can see on this screenshot in the highlighted area: An example of integration of multiple plugins in a sidebar you can see on this screenshot in the highlighted area:
Line 104: Line 106:
  
 ===== 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, 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.+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 [[en:plugins:index|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.1605337254.txt.gz
  • Last modified: 2020/11/14 08:00
  • by fasse