Event Helper combines an intelligent extension with a no-frills custom date fieldtype to offer a simple but powerful way to manage events in ExpressionEngine®.
Event Helper works seamlessly when creating or updating entries from both the control panel and via Channel Forms.
Upload the included event_helper folder to your /system/user/addons/ directory, then install Event Helper from the Add-On Manager screen.
If you’re upgrading from EEvent Helper for EE2, upon installation all previous EEvent Helper fields will be converted to Event Helper fields, and the previous EEvent helper fieldtype and extension will be uninstalled automatically. (You will need to configure your event channels again.)
To configure your first channel that you want to mange with Event Helper, visit the Add-On Manager screen and click the Settings icon next to Event Helper. From there you can add settings for one or more channels.
In the most common scenario, you will choose Event Helper Date fields for both the start and end date fields, and optionally Time Select fields for start and end time fields, then select the option to synchronize the Entry Date with your chosen Start Date, and set the Expiration Date “intelligently.” This provides you with a setup where you can show upcoming events with a standard Channel Entries tag by using the show_future_entries="yes"
parameter, and likewise show only past events by using the show_expired="yes"
parameter.
The Event Helper Date fieldtype will create a date picker field in your entry form which displays only the date, not the time, using the date format selected in your localization preferences.
The fieldtype has a single configuration option, which determines what time will be used when the field is saved as a timestamp in the database. By default the timestamp is set to midnight, but you may choose any hour when configuring each field.
Display Event Helper Date fields in your templates using standard date formatting parameters. You may also use the :relative
modifier to display relative dates. Some examples:
{my_date_field format="%F %j%S, %Y"} {my_date_field format="%m/%d%Y %g:%i%a"} {my_date_field:relative}
Event Helper Date fields can be used as Low Variables. To output your variables you must use the Low Variables Parse tag to pass the format or other parameters. Example:
{exp:low_variables:parse var="lv_my_date_variable" format="%F %j%S, %Y"}