Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| en:plugins:installation [2021/09/22 11:09] – fasse | en:plugins:installation [2026/01/11 11:50] (current) – fasse | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| Download the plugin from [[en: | Download the plugin from [[en: | ||
| - | ==== Install plugin into an Admidio | + | ==== Install plugin into an Admidio page ==== |
| Check the installation instructions on the plugin page in the first step. Some Plugins supply their own installation script and integrate themselves thereby independently into our menu. In this case no further steps are necessary. | Check the installation instructions on the plugin page in the first step. Some Plugins supply their own installation script and integrate themselves thereby independently into our menu. In this case no further steps are necessary. | ||
| Line 16: | Line 16: | ||
| Several DIV blocks are stored there and you have to add your new DIV block behind an existing DIV block. The DIV-blocks look like this: | Several DIV blocks are stored there and you have to add your new DIV block behind an existing DIV block. The DIV-blocks look like this: | ||
| + | <code html>< | ||
| + | < | ||
| + | <div class=" | ||
| + | | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| <code html>< | <code html>< | ||
| <div class=" | <div class=" | ||
| Line 26: | Line 34: | ||
| If you want to include for example the Plugin '' | If you want to include for example the Plugin '' | ||
| - | <code html>< | + | <code html>< |
| - | <div class=" | + | |
| - | <div class=" | + | <div class=" |
| - | {load_admidio_plugin plugin=" | + | |
| - | </ | + | </ |
| - | </ | + | |
| </ | </ | ||
| 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/ | ||
| - | <code php><? | ||
| - | If you are within a PHP part of your page than you must only add: | ||
| - | <code php> | ||
| - | |||
| - | 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 50: | Line 48: | ||
| You can also use the plugins outside of the Admidio pages and integrate them into your own HTML / PHP pages. However, a few additional steps are necessary. | You can also use the plugins outside of the Admidio pages and integrate them into your own HTML / PHP pages. However, a few additional steps are necessary. | ||
| - | If you want to integrate the plugin into a pure html page, you should first rename the file extension of the page from html to php. Now you can integrate the plugin with help from PHP into your formerly pure HTML page. Now add the plugins | + | If you want to integrate the plugin into a pure html page, you should first rename the file extension of the page from html to php. Now you can integrate the plugin with help from PHP into your formerly pure HTML page. Now add the plugins (as an example here the plugin |
| 1. First the file // | 1. First the file // | ||
| <code php><? | <code php><? | ||
| - | include_once($_SERVER[' | + | include_once($_SERVER[' |
| ?></ | ?></ | ||
| The // | The // | ||
| Line 67: | Line 65: | ||
| | | ||
| Include-Befehl: | Include-Befehl: | ||
| - | include_once($_SERVER[' | + | include_once($_SERVER[' |
| **Example 2** | **Example 2** | ||
| Line 77: | Line 75: | ||
| | | ||
| Include-Befehl: | Include-Befehl: | ||
| - | include_once($_SERVER[' | + | include_once($_SERVER[' |
| | | ||
| 2. Afterwards the plugins are installed in the desired places: | 2. Afterwards the plugins are installed in the desired places: | ||
| <code php><? | <code php><? | ||
| - | include($_SERVER[' | + | include($_SERVER[' |
| ?></ | ?></ | ||
| Line 88: | Line 86: | ||
| <code php><? | <code php><? | ||
| - | include(' | + | include(' |
| ?></ | ?></ | ||