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:2.0:individueller_aufruf_der_module [2020/12/31 13:52] fasseen:2.0:individueller_aufruf_der_module [2024/12/08 19:17] (current) – [What links and parameters are available?] greno
Line 10: Line 10:
  
 ===== 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/.../mail.php?rol_id=1&subject=My-private-email''+''Example: http://www.example.org/.../messages_write.php?role_uuid=550e8400-e29b-11d4-a716-446655440000&subject=My-private-email''
  
 **Note:** **Note:**
Line 22: Line 22:
 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.\\ \\ 
Line 29: Line 31:
 === 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 ===
Line 35: Line 37:
 ''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.  |
-cat_id      Id of a category  | Displays all announcements of this category. +cat_uuid      UUID of a category  | Displays all announcements of this category. 
-id      Id of an announcement  | Displays only this one announcement.  |+ann_uuid      UUID of an announcement  | Displays only this one announcement.  |
  
 === Documents & Files === === Documents & Files ===
Line 45: Line 46:
 ''Link: http://www.example.org/admidio-folder/adm_program/modules/documents-files/documents_files.php'' ''Link: http://www.example.org/admidio-folder/adm_program/modules/documents-files/documents_files.php''
 ^ Parameter   ^ Value        ^ Description ^ ^ Parameter   ^ Value        ^ Description ^
-folder_id      | Folder ID      | Specifying the ID of the file folder to be displayed.  |+folder_uuid      | Folder UUID      | Specifying the UUID of the file folder to be displayed.  |
  
 === E-mail === === E-mail ===
Line 51: Line 52:
 ''Link: http://www.example.org/admidio-folder/adm_program/modules/messages/messages_write.php'' ''Link: http://www.example.org/admidio-folder/adm_program/modules/messages/messages_write.php''
 ^ Parameter   ^ Value        ^ Description ^ ^ Parameter   ^ Value        ^ Description ^
-rol_id     | Id of the role  | Id of the role to whose members an e-mail is sent.  | +role_uuid     | UUID of the role  | UUID of the role to whose members an e-mail is sent.  | 
-usr_id     | Id of the user   Id of the user to whom an e-mail is sent.  |+user_uuid     | UUID of the user   UUID of the user to whom an e-mail is sent.  |
 | subject    | Subject      | Subject of the e-mail can be preset with this.  | | subject    | Subject      | Subject of the e-mail can be preset with this.  |
 | carbon_copy  | 1\\ 0 (default)  | Flag whether a copy should be sent to the sender.  | | carbon_copy  | 1\\ 0 (default)  | Flag whether a copy should be sent to the sender.  |
 +| msg_type     | EMAIL (Default)\\ PM   | Specify whether to create an e-mail or a private message.  |
  
 === Photos === === Photos ===
Line 60: Line 62:
 ''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_id      Id of an album  | Displays the photos of this album. |+
  
 === E-cards === === E-cards ===
Line 67: Line 68:
 ''Link: http://www.example.org/admidio-folder/adm_program/modules/ecards/ecard_form.php'' ''Link: http://www.example.org/admidio-folder/adm_program/modules/ecards/ecard_form.php''
 ^ Parameter   ^ Value        ^ Description ^ ^ Parameter   ^ Value        ^ Description ^
-pho_id      Id of an album  | Id of the photo album whose image you want to send.  |+photo_uuid      UUID of an album  | UUID of the photo album whose image you want to send.  |
 | photo_nr      | Number of a photo  | Number of the photo of the selected album for which a greeting card is to be created.  | | photo_nr      | Number of a photo  | Number of the photo of the selected album for which a greeting card is to be created.  |
 +| user_uuid      | UUID of a member  | UUID of the member to whom the ecard should be sent.   |
  
 === Guestbook === === Guestbook ===
Line 74: Line 76:
 ''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.  |
-| id      Id of an entry  | Displays only this guestbook entry.  |+
  
 === Groups & Roles === === Groups & Roles ===
Line 81: Line 82:
 ''Link: http://www.example.org/admidio-folder/adm_program/modules/groups-roles/groups-roles.php'' ''Link: http://www.example.org/admidio-folder/adm_program/modules/groups-roles/groups-roles.php''
 ^ Parameter   ^ Value        ^ Description ^ ^ Parameter   ^ Value        ^ Description ^
-cat_id           | Id of a category   Id 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 ===
Line 89: Line 90:
 ''Link: http://www.example.org/admidio-folder/adm_program/modules/groups-roles/mylist.php'' ''Link: http://www.example.org/admidio-folder/adm_program/modules/groups-roles/mylist.php''
 ^ Parameter   ^ Value        ^ Description ^ ^ Parameter   ^ Value        ^ Description ^
-| active_role   | 1 (default)\\ 0  | All active roles of the organization\\ Only the inactive roles of the organization  |+| 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 |
 | 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  |
  
Line 96: Line 98:
 ''Link: http://www.example.org/admidio-folder/adm_program/modules/profile/profile.php'' ''Link: http://www.example.org/admidio-folder/adm_program/modules/profile/profile.php''
 ^ Parameter   ^ Value        ^ Description ^ ^ Parameter   ^ Value        ^ Description ^
-user_id  Id of a user  | If this parameter is set, then the profile of this user is displayed. Without the parameter, the own profile is always displayed.  |+user_uuid  UUID of a user  | If this parameter is set, then the profile of this user is displayed. Without the parameter, the own profile is always displayed.  |
  
 === Events === === Events ===
Line 102: Line 104:
 ''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.  |
-cat_id  | Calendar Id  | Display all events for the passed calendar. +cat_uuid  | Calendar UUID  | Display all events for the passed calendar. 
-id      Id of an event  | Displays only this one event.  |+dat_uuid      UUID of an event  | Displays only this one event.  |
 | mode      | actual(default)\\ old\\ all  | All upcoming events displayed.\\ Only show the already past events.\\ All upcoming and already past events are displayed.   | | mode      | actual(default)\\ old\\ all  | All upcoming events displayed.\\ Only show the already past events.\\ All upcoming and already past events are displayed.   |
 | show      | all(default)\\ maybe_participate\\ only_participate  | Show all events.\\ Show only events where the current user is logged in or can log in.\\ Show only events where the current user is logged in.  | | show      | all(default)\\ maybe_participate\\ only_participate  | Show all events.\\ Show only events where the current user is logged in or can log in.\\ Show only events where the current user is logged in.  |
Line 116: Line 117:
 ''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_id      Id of a category  | Displays all web links of this category. +link_uuid      UUID of a web link  | Displays only this one web link.  | 
-id      Id 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''.
  • en/2.0/individueller_aufruf_der_module.1609419143.txt.gz
  • Last modified: 2020/12/31 13:52
  • by fasse