Manage membership data through your website with Admidio
In Practice
However, Admidio can do much more than just manage membership data: It is also possible to set up online registration for courses or other events with the help of the software. The easiest way to do this is to use Admidio's appointment management. For each appointment, you can determine whether members are allowed to register for them. This provides an easy way to create a registration system, because the appointments do not have to be one-off events, they can include courses and other regular activities.
You need to login as an administrator to create an appointment. In Events, you will find the Create Events button, which you use to access the input mask for a new entry. Here you first need to enter the usual data (e.g., date, location and description). The interesting Visibility & Registration is in the third pane down. Here you first need to specify which group is allowed to see the event. The group All (also Visitors) is the default selection, which you can define using the existing roles within the system.
Below this, you'll find the Highlight date option, which makes the entry in the list stand out. This can be used for an annual general meeting or compulsory courses, for example. Under that, you can activate the Enable registration to this appointment option as required. The software then shows the Participate button in addition to the information in the list. Members can then register for the event using this button. Admidio initially shows the registration dialogue when Participate is clicked for interested parties who are not yet registered in the online system.
The Show participants button allows administrators to take a look at all currently available applications at any time (Figure 4).
Integration
Admidio can be accessed as a separate page or integrated into an existing website. You have a couple of options for the latter: If you want to use all of Admidio's functions, it makes sense to integrate it inconspicuously via a link and thus to use an inline frame (iframe
). Alternatively, you can integrate specific areas into an existing website. Admidio provides some direct links for this purpose, which you can integrate very easily into existing HTML or PHP pages.
You need to understand the structure of Admidio when deciding between these two methods. The software is based on modules and plugins. Modules are all components that provide functionality in the default installation. Plugins, as in other systems, provide additional functions, which you can activate in just a few steps. You need to take a couple of additional steps to integrate such plugins into other websites.
For example, you would use the list of events for registering in a course. This is a module because it represents a basic function. You can integrate this within an external page in the form of an iframe. An example call for the Events module is shown in the first line of Listing 1. You can show the complete list of appointments if the space provided is big enough, and you can customize the display by attaching a corresponding parameter to the HTML call [2].
Listing 1
Example Call
Use an event's ID as the parameter to integrate a single event in a website. The easiest way to find this is to access the events as an administrator and then open the desired event in the detail view. In the URL, you will see the dat_id parameter, which indicates the corresponding ID. Add this value to the call (Listing 1, line 2). However, the Events headline displayed here doesn't really fit that well with a single appointment. So, if necessary, you can specify another headline using the headline
parameter (line 3).
Integrating modules doesn't really create major problems either with a static website or with content management systems (CMS). The cooperation with WordPress is particularly simple – at least when it comes to integrating the plain appointment calendar in one of the sidebars, for example. A special plugin for this is available in the official WordPress plugin directory [3]. It displays a list of the upcoming events with just a few clicks. The advantage is that the display appears in the exact design of the theme used. A detailed manual within Admidio's online documentation describes the integration into Joomla.
Plugins
The procedure is a bit more complex with plugins. They are a bit different with Admidio than you might be used to with WordPress or Joomla. There are small function definitions, which you first need to copy manually into the adm_plugins
directory. Then, you place a reference to it in the desired place on the Admidio website.
First, you integrate the common.php
file at the start of a PHP site on an external website (Listing 2). You can also rename a simple HTML page from <Page>.html
to <Page>.php
. Make sure that the path to the Admidio folder corresponds exactly to the environment on the server concerned.
Listing 2
Integrate common.php File
You integrate access to the actual plugins (Listing 3) at the exact point in the source code where you want to see the plugin output – usually a special area referred to as widgets. You should thoroughly test the construct to make sure incorrect output or formatting doesn't destroy the layout.
Listing 3
Integrate Access to Plugins
Integrating additional modules or plugins into an existing website is accomplished in the same way. However, this approach only makes sense for individual cases in which the user needs to input something directly, such as when making appointments. However, if you need several components, you should consider integrating the whole Admidio interface in the website.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.