AndyF:
@brian What I'm wanting to do with my events is to not have just an event that happens on just one day (or recurring every so often). We advertise training classes that are multiple days & I'm wanting to have one event that happens across 2 or 3 days in a row (ie: Jan 6 - Jan 8th). I'm I missing something to make this happen?
Ahh - I see. Not a recurring event, but an event that is longer than 1 day.
This can be done using the Form Designer:
- go into Create Event as the master admin and click on "Form Designer"
- create a new field called "event_end_day" - make sure the "add to update form" is checked
- in the Modify Form field form:
1) enter "Event End Day" as the Title, and whatever you want for the Help.
2) Select "datetime" as the field type
3) in "Display Groups" select Master Admins, Profile Admins and Normal Users
4) check the "Active" field and save
- back on the form list now, press the left most "move up" button until the new Event End Day is right under the Event Date field.
Then press "cancel" and you'll go back to the Create Event form and you'll see a new field for "Event End Day" which you can now enter a value for.
Next, in your ACP -> Profiles -> Profile Events -> Template tab, click on Modify next to "item_detail.tpl" and add the new field in - i.e. find and change this:
{$item.event_date|jrCore_date_format:"%A %B %e %Y, %l:%M %p"}
To something like this:
{$item.event_date|jrCore_date_format:"%A %B %e %Y, %l:%M %p"}<br>
{$item.event_end_day|jrCore_date_format:"%A %B %e %Y, %l:%M %p"}
Just tweak the HTML to suit your needs. You can do the same to the item_list.tpl file to have the end day also be present in the listing (and not just the details).
Hopefully that helps you see how the Form Designer can be used to fully customize your module to suit your needs.
Hope this helps!
--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net