Both sides previous revision Previous revision Next revision | Previous revision |
en:2.0:individueller_aufruf_der_module [2022/01/10 10:58] – fasse | en:2.0:individueller_aufruf_der_module [2024/12/08 19:17] (current) – [What links and parameters are available?] greno |
---|
| |
===== What links and parameters are available? ===== | ===== What links and parameters are available? ===== |
All parameters given here are optional. Each module can be called without the respective parameters. you should only pass them if the desired change is needed. | All parameters given here are optional. Each module can be called without the respective parameters. You should only pass them if the desired change is needed. |
| |
The parameters are appended directly to the URL. you simply put a **?** after the URL and then you can write the parameter name. After a **=** then follows the value. If you want to append more than one parameter, the parameters are separated by a **&**. | The parameters are appended directly to the URL. You simply put a **?** after the URL and then you can write the parameter name. After a **=** then follows the value. If you want to append more than one parameter, the parameters are separated by a **&**. |
| |
''Example: http://www.example.org/.../messages_write.php?role_uuid=550e8400-e29b-11d4-a716-446655440000&subject=My-private-email'' | ''Example: http://www.example.org/.../messages_write.php?role_uuid=550e8400-e29b-11d4-a716-446655440000&subject=My-private-email'' |
Calling the login page with link to registration and redirection to the page specified in the settings.\\ \\ | Calling the login page with link to registration and redirection to the page specified in the settings.\\ \\ |
''Link: http://www.example.org/admidio-folder/adm_program/system/login.php'' | ''Link: http://www.example.org/admidio-folder/adm_program/system/login.php'' |
\\ \\ | ^ Parameter ^ Value ^ Description ^ |
| | organization_short_name | Shortname of organization | The short name of a stored organization that should be preselected on the login page. (from version 4.3) | |
=== Logout === | === Logout === |
Logout of the user with redirection to the page specified in the settings.\\ \\ | Logout of the user with redirection to the page specified in the settings.\\ \\ |
=== Registration === | === Registration === |
New users can register using this form.\\ \\ | New users can register using this form.\\ \\ |
''Link: http://www.example.org/admidio-folder/adm_program/system/registration.php'' | ''Link: http://www.example.org/admidio-folder/adm_program/modules/profile/profile_new.php'' |
\\ \\ | \\ \\ |
=== Announcements === | === Announcements === |
''Link: http://www.example.org/admidio-folder/adm_program/modules/announcements/annnouncements.php'' | ''Link: http://www.example.org/admidio-folder/adm_program/modules/announcements/annnouncements.php'' |
^ Parameter ^ Value ^ Description ^ | ^ Parameter ^ Value ^ Description ^ |
| headline | Designation | Freely selectable name for the module instead of announcements. | | |
| date_from | Format: System setting | View all announcements as of this date. | | | date_from | Format: System setting | View all announcements as of this date. | |
| date_to | Format: System setting | View all announcements up to this date. | | | date_to | Format: System setting | View all announcements up to this date. | |
''Link: http://www.example.org/admidio-folder/adm_program/modules/photos/photos.php'' | ''Link: http://www.example.org/admidio-folder/adm_program/modules/photos/photos.php'' |
^ Parameter ^ Value ^ Description ^ | ^ Parameter ^ Value ^ Description ^ |
| headline | Designation | Freely selectable name for the module instead of photos. | | |
| pho_uuid | UUID of an album | Displays the photos of this album. | | | pho_uuid | UUID of an album | Displays the photos of this album. | |
| |
''Link: http://www.example.org/admidio-folder/adm_program/modules/guestbook/guestbook.php'' | ''Link: http://www.example.org/admidio-folder/adm_program/modules/guestbook/guestbook.php'' |
^ Parameter ^ Value ^ Description ^ | ^ Parameter ^ Value ^ Description ^ |
| headline | Designation | Freely selectable name for the module instead of guestbook. | | |
| gbo_uuid | UUID of an entry | Displays only this guestbook entry. | | | gbo_uuid | UUID of an entry | Displays only this guestbook entry. | |
| |
^ Parameter ^ Value ^ Description ^ | ^ Parameter ^ Value ^ Description ^ |
| cat_uuid | UUID of a category | UUID of a category whose roles should be displayed. | | | cat_uuid | UUID of a category | UUID of a category whose roles should be displayed. | |
| role_type | 0 \\ 1 (Default) \\ 2 | inactive roles only \\ all active roles \\ appointment participant roles only | | | role_type | 0 \\ 1 (Default) \\ 2 | Inactive roles only \\ All active roles \\ Appointment participant roles only | |
| show | card (default)\\ permissions | Show all groups and roles in map view \\ Show permissions of all groups and roles in list view. | | | show | card (default)\\ permissions | Show all groups and roles in map view. \\ Show permissions of all groups and roles in list view. | |
| |
=== Own lists === | === Own lists === |
^ Parameter ^ Value ^ Description ^ | ^ Parameter ^ Value ^ Description ^ |
| list_uuid | UUID of a list | UUID of a list to be displayed. | | | list_uuid | UUID of a list | UUID of a list to be displayed. | |
| active_role | 1 (default)\\ 0 | All active roles of the organization\\ Only the inactive roles of the organization | | | active_role | 1 (default)\\ 0 | All active roles of the organization.\\ Only the inactive roles of the organization. | |
| show_members | 0 (default) \\ 1 \\ 2 | All active members\\ All former members\\ All active and former members | | | show_members | 0 (default) \\ 1 \\ 2 | All active members\\ All former members\\ All active and former members | |
| |
''Link: http://www.example.org/admidio-folder/adm_program/modules/dates/dates.php'' | ''Link: http://www.example.org/admidio-folder/adm_program/modules/dates/dates.php'' |
^ Parameter ^ Value ^ Description ^ | ^ Parameter ^ Value ^ Description ^ |
| headline | Designation | Freely selectable name for the module instead of events. | | |
| date_from | Format: System setting | Show all events from this date. | | | date_from | Format: System setting | Show all events from this date. | |
| date_to | Format: System setting | Display all events up to this date. | | | date_to | Format: System setting | Display all events up to this date. | |
''Link: http://www.example.org/admidio-folder/adm_program/modules/links/links.php'' | ''Link: http://www.example.org/admidio-folder/adm_program/modules/links/links.php'' |
^ Parameter ^ Value ^ Description ^ | ^ Parameter ^ Value ^ Description ^ |
| headline | Designation | Freely selectable name for the module instead of web links. | | |
| cat_uuid | UUID of a category | Displays all web links of this category. | | | cat_uuid | UUID of a category | Displays all web links of this category. | |
| link_uuid | UUID of a web link | Displays only this one web link. | | | link_uuid | UUID of a web link | Displays only this one web link. | |
| |
| ===== How can I embed a page in an iFrame? ===== |
| If you want to embed a module or any Admidio page in an iFrame, you can do this using one of the links documented here. In many cases, you do not want to display the menu or the page header, but only the actual content of the page, as shown in the following screenshot:\\ |
| {{:en:2.0:documentation:iframe.png?600|Admidio page with reduced content}} |
| |
| To achieve this, from version 4.3.6 you can append the query parameter ''iframe'' with the value ''1'' to every page call.\\ |
| ''Example: http://www.example.org/admidio-ordner/adm_program/modules/announcements/annnouncements.php?iframe=1''\\ |
| Admidio remembers the setting. If a user now clicks on a link on this page, the page that is then called up is also displayed with the reduced content. If you want to insert another link where you want to display the full Admidio page, set the query parameter ''iframe'' to the value ''0''. |