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 [2024/11/23 19:39] – [Install plugins outside of an Admidio page] greno | 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 55: | Line 53: | ||
| <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(' |
| ?></ | ?></ | ||