plugin: Event Booking
Last updated
Last updated
This plugin enables you to insert events (one by one or by a selection on one or several categories) from Event Booking in your Newsletters.
You can also use this plugin to automatically include your upcoming events in an Auto-newsletter.
You can search in all your events and then click on one of them to include it in your Newsletter.
You can also filter your AcyMailing subscribers based on their event registrations, filter it by date and status.
If you purchased at least one commercial version of AcyMailing, you can download then install and publish it like a standard Joomla plugin.
Your events will look like this in your newsletter, of course you can customize the way it is rendered :
You can use this interface to insert any event in your Newsletter.
Each event can be selected one by one.
Display: Select the information you want to display in your event's listing
Custom Fields: Select the custom fields you want also to insert with the event
Thumb Image: You can decide to display or not the pictures in your event's description.
Additional parameters:
itemid: You can specify the Itemid used in the event's links
itext: With this option you can specify the text used in the link for individual registration
gtext: With this option you can specify the text used in the link for group registration
thumbfloat: You can specify if you want the image to be placed on the left or on the right, for example {eventbooking:26...|thumbfloat:right...}
wrap: With this option, truncate the description after XX characters, where XX is this option's value
You can select one or several event categories and AcyMailing will automatically include the upcoming events from the selected categories when their starting date is between the From date and To date you specified.
Max. Number of items: The inserted tag will be replaced by a maximum of X events.
Min. Number of items: This option will only be displayed if you access this plugin for a Smart-Newsletter. AcyMailing will only generates your Smart-Newsletter if the minimum number of events found is reached.
Order by: Order the inserted events by id, title...
Maximum Starting Date: AcyMailing will only include events that start between the sending date and the delay specified.
Additional parameters:
open: With this option, the tag will be only replaced by the events that the users can still register to
With this plugin, you can filter your AcyMailing subscribers based on their Event Booking event registrations. In this example, it will select all the Acy subscribers that subscribed to the event "Monday live music night" between the 28th and the 29th October and did not pay yet.
Itemid: if you did not specify an itemid in your tag, this value will be taken into account in the event's links if specified
Display events: Select if you want to display only the published events in the tags popup
Hide past events: Select if you want to hide the past events in the tags popup
Front-end Access: You can choose to hide this plugin's tab on the Front-end's tag popup
You can change the styles used for the title and the content area by editing your AcyMailing template.
Edit the AcyMailing template used for your Newsletter and then set some styles:
Style for the content area will be used to encompass your content
Style for the content title will be applied to the title
Style for the read more link will be applied to your read more link (if you have one)
You can also set the style of all your links using the Link a field
Set styles template
You can also modify the way your event is displayed by creating your own template which will be used to render the event.
Please follow those instructions, we don't recommend you to modify the Event Booking plugin directly otherwise your changes will be overwritten when you update the plugin.
Create a file in the folder media / com_acymailing / plugins (if the folder does not exist, please create it first). The name of the file should be eventbooking.php If this file is available on your server, AcyMailing will use it and won't use the default one.
On this file you can access the element $varFields (which contains all the event information) and the element $tag (which contains the information of the current tag used in your Newsletter)
You can insert the event's information using this simple syntax : {title}, {description}, or {link}
Using all those variables, you can create your own template.
Here is an example: