Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Events Table Installation | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Events Table Installation

Events Table Installation

Posted: January 30, 2014 at 3:27 pm

Viewing 5 reply threads


ASEEM SAPPAL

January 30, 2014 at 3:27 pm

This is what I have so far: http://oaksterdamuniversity.com/o/schedule/
This is what I want it to look like: http://oaksterdamuniversity.com/enroll.html#schedule or http://lsptraining.co.uk/

Is there a way to make a custom table that will show the following: Course / Dates / Days / Time / Price / Course Code / Status / Book

[EVENT_CUSTOM_VIEW] seems to be working but does not list price or times.

[EVENT_CUSTOM_VIEW template_name=”courses-table”] is not working
(shows: The custom template courses-table can not be found)

I’m the developer for Aseem Sappal.
Thanks tom@tomarrington.com


Dean

  • Support Staff

January 31, 2014 at 2:29 am

Hi Tom,

There’s a couple of things you can do:

1) Edit the default Event Table template that comes with the Custom Templates addon to show the prices (everything should be in the $event array so its just a case of adding a couple more columns)

2) You could check out the Grid template

All the different templates are showcased here – http://demoee.org/custom-template-add-on/

Also the courses-table template doesn’t exist any more (it became the default event table), where did you see this? If it is in the documentation then I can remove that mention.


ASEEM SAPPAL

January 31, 2014 at 11:12 am

Dean, thanks for the quick response. My PHP skills are very minimal. Would like to get this page: http://oaksterdamuniversity.com/o/schedule/ to look like this page: http://lsptraining.co.uk/ (scroll down to bottom)

What shortcode do I insert on the course schedule page and what php template do I have to alter? I’m assuming it is the espresso_table.php

Currently I have this shortcode installed on the course schedule page: [ESPRESSO_TABLE max_days=”30″ qty=”3″ category_id=”gracecard” order_by=”state”]

If this is beyond my skills, how can we get the job done?

I can give you login if you need to look at dashboard.

Thanks, Tom


ASEEM SAPPAL

January 31, 2014 at 2:15 pm

Dean, I managed to get the table set up with place-holders for the course time and status, but the results are not showing in the table: http://oaksterdamuniversity.com/o/schedule/
How do I accomplish this task?
Again, I’m trying to get the same table as this site: http://www.londonschoolofphotography.co.uk/


Dean

  • Support Staff

February 3, 2014 at 2:45 am

Hi,

You would want the headers to be something like this

			<th class="th-group"><?php _e('Status','event_espresso'); ?></th>
			<th class="th-group"><?php _e('Event','event_espresso'); ?></th>
			<th class="th-group"><?php _e('Date','event_espresso'); ?></th>
			<th class="th-group"><?php _e('Time','event_espresso'); ?></th>
			<th class="th-group"><?php _e('Cost','event_espresso'); ?></th>
			<th class="th-group"><?php _e('','event_espresso'); ?></th>
			<th class="th-group"></th>

and the main rows to be something like this

			<td><?php $capacity = do_shortcode('[ATTENDEE_NUMBERS event_id="'.$event->id.'" type="available_spaces"]'); if($capacity == "0") { echo "Full"; } else { echo "Open"; };  ?></td>
			<td id="event_title-<?php echo $event->id?>" class="event_title"><?php echo stripslashes_deep($event->event_name) ?></td>
			<td id="start_date-<?php echo $event->start_date?>" class="start_date"><?php echo event_date_display($event->start_date, get_option('date_format')) ?></td>
			<td id="start_time-<?php echo $event->start_time?>" class="start_date"><?php echo event_date_display($event->start_time, get_option('time_format')) ?></td>
			<td id="start_cost" class="start_date"><?php echo $event->event_cost?></td>
			<td class="td-group reg-col" nowrap="nowrap"><?php echo $event_status == 'ACTIVE' ? $live_button .  $cart_link : $live_button; ?></td>


ASEEM SAPPAL

February 3, 2014 at 8:34 am

Perfect! Thanks Dean
Tom

Viewing 5 reply threads

The support post ‘Events Table Installation’ 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 - Staging Server