Support

Home Forums Event Espresso Premium how to list repeating classes for an extended legth of time?

how to list repeating classes for an extended legth of time?

Posted: February 24, 2014 at 10:04 pm


tamara smith

February 24, 2014 at 10:04 pm

I plan to run a class every Tuesday throughout the summer. Participants can register for the Tuesdays that work for their schedules. Each Tuesday class will have a limited number of participants that can enroll. What is the best way to set up registration for these kinds of events?

If I just create an event and set it to repeat I will have a very long list of events. I guess I’m wondering if there’s a way to have it in a condensed list form with check boxes or something can be checked for every Tuesday they want to join… thoughts?


tamara smith

February 24, 2014 at 10:20 pm

I should probably add – There will be 4-6 different classes each Tuesday. So listing each one individually & repeating for every Tuesday of the summer would make for an eternally long list!!


Dean

February 25, 2014 at 4:44 am

Hi,

I would set them up as normal recurring events, a series of them for each event that occurs.

Then I would use the Custom Templates add on, along with the Recurring Dropdown template.

This would give a structure similar to this – http://take.ms/tZjpU

The lists are long (the example runs from April 1st to Oct 7th) but not overly long and they are contained within a dropdown box.

The problem though is that they cannot select multiple events in one go (using Multiple Event Registration).

However, if you are willing to test something for us, we have a different version of the Recurring Dropdown Template that will allow users to add to cart – https://monosnap.com/image/FpKb2Cq3lUfmI0pXsi0Qm5X7YytMB7


tamara smith

February 25, 2014 at 9:44 pm

Dean- yes! I’ll test that. That’s pretty much just what I was looking for!! Let me know how to proceed.

-Tamara


Dean

February 26, 2014 at 4:48 am

Hi,

I emailed you a copy.


tamara smith

February 27, 2014 at 10:51 am

Thanks Dean. I have it all downloaded but I’m not sure how to apply it! Tried creating a new event. Is there somewhere I can look for how to actually make the classes display in that drop down form?


Tony

  • Support Staff

February 27, 2014 at 10:57 am

Hi Tamara,

That template is used by the Custom Template Add-on, you’ll need both that and the template Dean sent you activated in order to us it.

Then create a page with the shortcode [EVENT_CUSTOM_VIEW template_name=”recurring-dropdown”]

All of your events will then be displayed on that page using the template.

Does that help?


tamara smith

February 27, 2014 at 11:03 am

It does. thanks. Is there a way for me to change the size of the box the classes are displaying in? Currently you have to scroll really far over in order to find the register button. The box listing classes is only displaying 3 classes before needing to scroll down. Also any way to change styling?


tamara smith

February 27, 2014 at 11:06 am

Also wondering if it’s possible to make each event “click-able.” In the normal registration I can click on a class to learn more.


Tony

  • Support Staff

February 27, 2014 at 11:10 am

Is there a way for me to change the size of the box the classes are displaying in?

Can you link us to the page please so we can view what is happening? (Likely the theme CSS will need overriding)

Also wondering if it’s possible to make each event “click-able.” In the normal registration I can click on a class to learn more

Each instance of the date clickable? This will likely need some modification to the template itself but depends exactly what you mean.


tamara smith

February 27, 2014 at 11:12 am

http://www.growingtimeclasses.com/swimming-rego/


tamara smith

February 27, 2014 at 11:16 am

I guess I’m just looking to keep some styling like I have on the regular registration page: http://www.growingtimeclasses.com/register/

It looks nice & is user friendly. It also is responsive and displays nicely on mobile devices. If I have to give all that up for the drop down effect I may be looking for another solution.


Tony

  • Support Staff

February 27, 2014 at 11:22 am

The shortcode is currently wrapped in pre tags which is causing what your currently seeing.

If you edit the page with the EVENT_CUSTOM_VIEW shortcode, go to the ‘text’ tab and remove the pre tags (both opening and closing) then update the page http://take.ms/nFU6d


tamara smith

February 27, 2014 at 11:39 am

YES!! Thanks! MUCH better!


tamara smith

February 27, 2014 at 11:45 am

ok – a few more questions:
1 – Is it possible to change the military time to non-military time?
2 – Is it possible to have the classes appear in a particular order – such as alphabetically as I have it on my original registration page? http://www.growingtimeclasses.com/register/
3 – Would the class with the “select a date” option be thrown is I added multiple times for that class on each date? For example Tuesdays at 12 & 4pm…


tamara smith

February 27, 2014 at 1:47 pm

OK I figured out the answer to #3. It works fine. Before I make this my published listing of classes however I’d really like to organize the classes alphabetically. If there is some shortcode I can add to make that happen please let me know.

The “Time” column has a few quirks. First of all, if there are multiple times available for a class those times are not all displayed on the registration page. Students would not know there are multiple time options without clicking on the registration button and then seeing the drop down of time options. One time is displayed however. It seems either NO times should be displayed or ALL time options should be displayed. Otherwise we would lose people looking at the registration page who couldn’t make that 1 time that was displayed. Does that make sense? If there’s a way around all that would you let me know?!

-Tamara


Tony

  • Support Staff

February 27, 2014 at 2:41 pm

Hi Tamara,

The EVENT_CUSTOM_VIEW shortcode is based upon the Event List shortcode, as such any attributes that worked with EVENT_LIST should also work here. So to sort alphabetically ASC we can use:

[EVENT_CUSTOM_VIEW template_name=”recurring-dropdown” order_by=event_name sort=ASC]

Notice ‘order_by=event_name sort=ASC’

We have a full list of attributes available here:

https://eventespresso.com/wiki/shortcodes-template-variables/#event-list

The time column (& format) I am currently looking into, this will likely need some modification to the template to suite your needs, I will get back to you on this.


tamara smith

February 27, 2014 at 3:40 pm

Great! That shortcode was perfect. And thanks for looking into the time thing! I’m so excited to have this functionality!

-Tamara


Tony

  • Support Staff

March 3, 2014 at 6:37 am

Hi tamara,

Without custom development the easiest option would be to remove the time from the table.

You can do this by editing the template espresso-template-recurring-dropdown\index.php

Remove line 59 to remove the ‘Time’ header:

<th><?php _e('Time', 'event_espresso') ?></th>

and also line 126 to remove the times themselves:

<td id="start_time-<?php echo $first_event_instance['start_time']?>" class="start_time"><?php echo stripslashes_deep($first_event_instance['start_time'])?></td>

Hope that helps 🙂


tamara smith

March 4, 2014 at 12:21 am

Thanks Tony. What about the possibility of adding a word like “various” in place of the times on events with multiple time options?

Another question (sorry I have so many) – Is it possible to group classes by category with this plugin? I’d love to have an alphabetized list of my swimming classes then under that an alphabetized list of my gymnastics classes… for example.


Dean

March 4, 2014 at 3:12 am

Hi,

You could add this code just above the time < td > line

<?php
$x = event_espresso_time_dropdown($first_event_instance['event_id']);
if ( strpos( $x, "select" ) ) { $first_event_instance['start_time'] = "Various"; }
?>

That will make any event with multiple times display Various.

Displaying via category is definitely possible. Any Custom Template uses the Event List as a basis, so any parameter you can use with Event List you can use with the Custom Templates.

So for example, if I added these three shortcodes to a single page

[EVENT_CUSTOM_VIEW template_name=”recurring-dropdown” order_by=event_name sort=ASC]

[EVENT_CUSTOM_VIEW template_name=”recurring-dropdown” order_by=event_name sort=ASC category_identifier=”american-1380794310″]

[EVENT_CUSTOM_VIEW template_name=”recurring-dropdown” order_by=event_name sort=ASC category_identifier=”british-1380794320″]

I would get this http://take.ms/TcbDK

The first is all events, the second is those in the American category, the third is those in the British category.

Here is a lost of all the Event List parameters – https://eventespresso.com/wiki/shortcodes-template-variables/#event-list


tamara smith

March 4, 2014 at 1:37 pm

This just keep getting better! Thank you Dean! I have it all separated out how I like it.

Now I’m ready to take on the “various times” part but I have to say I have no idea where to find the part of my website that looks like your or Tony’s example! Where do I access that info?


Dean

March 5, 2014 at 12:39 am

Hi Tamara,

You would need to either edit the files off line or via your severs control panel (you can also do it from WordPress’ Plugin Editor page but I don’t recommend it).

I’m currently looking at improving the template to include more aspects (Various wording, MER support etc) but this may take a while due to resource constraints.

The support post ‘how to list repeating classes for an extended legth of time?’ 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