Support

Home Forums Event Espresso Premium Question on Calendar Functionality

Question on Calendar Functionality

Posted: July 15, 2013 at 9:01 am


Gary Levine

July 15, 2013 at 9:01 am

We are utilizing the events plugin for a tour website that runs multiple tours daily, for the most part.

Is there any way to use the calendar in a way like most airlines do, where you click a button (or into a field) and it brings up a mini calendar for you to choose the date for your event?

It looks like when you set up recurring events, it creates each instance as it’s own separate entity. That leads me to believe this kind of functionality isn’t doable (at least not currently), but I wanted to double check if there’s a more user-friendly way to display the events than to split off each tour into its own category and have the event listed on each calendar each and every day.

Thanks!


Dean

July 16, 2013 at 5:45 am

Hi Gary,

No sorry, we dont have that type of field available.

You are right that by default recurring events will list every single event because it generates an event for each date point.

The recurring events add on, does come with a modified template that allows the recurring events to be shown as a single event until clicked, and then it will list out the dates, which the user can click to select, making it more compact.

The template isnt perfect and we are trying to update these to make them more flexible.


Gary Levine

July 16, 2013 at 7:45 am

Hi Dean,

Thanks for the reply. That template does sound like it’s something more in line with what we are looking for. Is it just something I set under “Template Settings?” If you could let me know the steps I need to take to activate that, so that I can check it out it would be most appreciated.

Thanks again!


Josh

  • Support Staff

July 16, 2013 at 12:24 pm

Hi Gary,

The templates get copied into /wp-content/uploads/espresso/templates. As a first option I can suggest using the CSS dropdown templates. There is documentation available here that will outline how to display the events in a nice little dropdown:

https://eventespresso.com/wiki/drop-down-list-recurring-events/

Alternatively, if you’d like to try out the recurring events event-list templates, more up to date versions can be downloaded here:

https://gist.github.com/3933889

https://gist.github.com/3165268

These get uploaded to /wp-content/uploads/espresso/templates on your server and will override the default event-list templates.

If you go with option #2 there’s an additional step that involves adding a line of css to your theme’s custom stylesheet:

.subpage_excerpt .date_picker{
	display: none;
}


Gary Levine

July 16, 2013 at 2:15 pm

Thanks! I think I’m almost there, just a few more questions.

I have the dropdown set up, and it looks like it’s pulling the 5 events I set up as recurring, but it’s adding them as blank within the dropdown: http://yourwsidraft2.com/dctrails/dropdown-test/

Also, assuming I can get that part up and running, is there a way to add that into the normal event template on this page: http://yourwsidraft2.com/dctrails/events/

Ideally, there will be 4 events there all with a dropdown to choose the date that they would like to go on the tour.

Thanks again!


Josh

  • Support Staff

July 16, 2013 at 3:38 pm

I checked the source on the dropdown-test and it looks like the php that is supposed to display the name and date of the event is getting wrapped with html comments so it’s not displaying:

screenshot

With the other question, you could try setting up a different page and place the [EVENT_CSS_DROPDOWN] and [EVENT_LIST] on the same page. If you place [EVENT_CSS_DROPDOWN] on the same page that has [ESPRESSO_EVENTS] you’ll end up seeing the dropdown on every page across the registration process since [ESPRESSO_EVENTS] handles the entire registration process.

The support post ‘Question on Calendar Functionality’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso