- Installation
- Basic configuration
- Advanced configuration
- Backend interface
- Frontend modules
- Notifications
- Insert tags
- Developers
Based on the genuine event list module enhanced with the subscription functionality. Since it is based on the genuine event list module it offers the same features as it's ancestor.
Based on the genuine event reader module enhanced with the subscription functionality. Since it is based on the genuine event reader module it offers the same features as it's ancestor.
The module that should be placed on the same page as the event reader module. It displays a subscription form for the current event.
This module will display the events that the user is subscribed to. Works great as a subscription overview/history for the currently logged in user. Since it is based on the genuine event list module it offers the same features as it's ancestor.
Since version 2.8.0 all the events that member is subscribed to, will get a subscribed CSS class in the event modules
such as event list and calendar.
Since version 2.13 the can-subscribe CSS class is also added to the calendar module.
You may need to adjust some of the cal_ and event_ templates to enable the extra data and subscription form.
The extension comes by default with the event_list_subscribe template which works as an example
but should not be used (at least unmodified) in the production.
If you wonder what data is available for the template you can simply print it:
<?php $this->dumpTemplateVars() ?>Example data you can find is:
$this->subscribers; // all subscribers
$this->subscribers['subscribers']; // event subscribers
$this->subscribers['subscribersParticipants']; // total number of participants of event subscribers
$this->subscribers['subscribersData']; // detailed subscription data of subscribers (since version 2.13)
$this->subscribers['waitingList']; // subscribers on waiting list
$this->subscribers['waitingListParticipants']; // total number of participants of subscribers on waiting list
$this->subscribers['waitingListData']; // detailed subscription data of subscribers on waiting list (since version 2.13)
$this->subscriptionMaximum; // maximum subscribers limit
$this->subscriptionTypes; // detailed information about subscription types
$this->subscriptionWaitingList; // 1 – waiting list enabled; 0 – disabled
$this->subscriptionWaitingListLimit; // waiting list limit
$this->subscribeWaitingList; // true if subscribe will be made to waiting listSince version 2.13 For the calendar cal_ templates, each event should contain the similar data:
<?php foreach ($day['events'] as $event): ?>
Subscribers: <?= $event['subscribers']['subscribersParticipants'] + $event['subscribers']['waitingListParticipants'] ?> / <?= $event['subscriptionMaximum'] ?>
<?php endforeach; ?>