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
Direct Download
Read full article as PDF:
Price $2.95
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
News
-
An All-Snap Version of Ubuntu is In The Works
Along with the standard deb version of the open-source operating system, Canonical will release an-all snap version.
-
Mageia 9 Beta 2 Ready for Testing
The latest beta of the popular Mageia distribution now includes the latest kernel and plenty of updated applications.
-
KDE Plasma 6 Looks to Bring Basic HDR Support
The KWin piece of KDE Plasma now has HDR support and color management geared for the 6.0 release.
-
Bodhi Linux 7.0 Beta Ready for Testing
The latest iteration of the Bohdi Linux distribution is now available for those who want to experience what's in store and for testing purposes.
-
Changes Coming to Ubuntu PPA Usage
The way you manage Personal Package Archives will be changing with the release of Ubuntu 23.10.
-
AlmaLinux 9.2 Now Available for Download
AlmaLinux has been released and provides a free alternative to upstream Red Hat Enterprise Linux.
-
An Immutable Version of Fedora Is Under Consideration
For anyone who's a fan of using immutable versions of Linux, the Fedora team is currently considering adding a new spin called Fedora Onyx.
-
New Release of Br OS Includes ChatGPT Integration
Br OS 23.04 is now available and is geared specifically toward web content creation.
-
Command-Line Only Peropesis 2.1 Available Now
The latest iteration of Peropesis has been released with plenty of updates and introduces new software development tools.
-
TUXEDO Computers Announces InfinityBook Pro 14
With the new generation of their popular InfinityBook Pro 14, TUXEDO upgrades its ultra-mobile, powerful business laptop with some impressive specs.