Has anyone managed to add Custom Module data into a Calendar layout on their site?
Alternatively, is there are a way that visitors can submit events themselves using the events module?
Has anyone managed to add Custom Module data into a Calendar layout on their site?
Alternatively, is there are a way that visitors can submit events themselves using the events module?
In theory, you should be able to format the module’s data to suit most javascript calendar plugins.
This is the only decent one I’ve worked with in the past (BC days), but the concept should be the same:
User submitted items for all modules aren’t technically supported yet, although they do work to some extent.
For example, any module can be user-submitted, but only the standard module fields and custom fields can be populated.
Special ‘System Properties’ added specifically to that module are not yet supported. So for Events, this would include the below fields (which probably makes user-submitted Events impractical in most cases):
@Adam.Wilson this is a great idea.
So would this be doable with a Custom Module setup then using FullCalendar if we setup ‘Event Location’, ‘Event Date’ and ‘Event Time’ as Custom Fields?
Also, do you know if custom module items could be added from a form on a public website page or does it need to be behind a secure zone to submit?
Full Calendar works in Treepl much like in BC, taking data from a Custom Module. Here’s the calendar in the site I’m migrating at the moment.
The migrated data is displaying correctly. Next step is the form used to add activities from the front end & the associated validation & approval processes.
Yes, Custom Module with location and date fields would be fine (although they wouldn’t enter into the Event booking system in the CMS/CRM like actual Events do).
No, Custom Modules cannot be user-submitted from a public form. The user must be logged in.
Thank you @Adam.Wilson and @peter.medbury this is great information. Most appreciated.
@Adam.Wilson if I have a custom module where an item had multiple event dates and times, would it be possible to have each of these show up within an event calendar? Or would each individual event/time need it’s own custom module item?
@peter.medbury are you just using the free version of Full Calendar for this or did you have to pay the $480 for it?
I used the free version - events added to a custom module by authenticated club members appear as soon as released. Formatting is based on data within the the item in the custom modules.
Theoretically, yes. You’d just need to find a way of outputting the data for the calendar plugin - so a bit of Liquid magic would probably do the job.