Support

Home Forums Event Espresso Premium Multi-Day Event – Info Not Displaying Properly

Multi-Day Event – Info Not Displaying Properly

Posted: March 10, 2014 at 3:12 pm


Angela Ferraro

March 10, 2014 at 3:12 pm

On the “Event Overview”, I have listed an “Event Start Date” and a “Event
End Date”.

However, there seem to be 2 problems. (1) On the “Event
Registration” page that shows when a user registers, the “date” only has
the first date. (2) The ticket prints a blank date.


Lorenzo Orlando Caum

  • Support Staff

March 10, 2014 at 3:19 pm

Hi Angela,

Could you please share a link to this event on your site so I can take a look?


Lorenzo


Angela Ferraro

March 11, 2014 at 9:38 am

godshape.com

Thanks, Lorenzo!


Dean

March 12, 2014 at 4:58 am

Hi,

1) Unfortunately, that is how the event list is set up. You could modify the template to show both dates though.

In the event_list display.php replace the following code

		<p id="event_date-<?php echo $event_id ?>"><span class="section-title"><?php _e('Date:', 'event_espresso'); ?></span>  <?php echo event_date_display($start_date, get_option('date_format')) ?> 
			<?php //Add to calendar button
			echo apply_filters('filter_hook_espresso_display_ical', $all_meta);?>
		</p>

with this code

					<p class="start_date">
					<?php if ($end_date !== $start_date) { ?>
					<span class="span_event_date_label">
					<?php _e('Start Date: ', 'event_espresso'); ?>
					</span>
					<?php } else { ?>
					<span class="span_event_date_label">
					<?php _e('Date: ', 'event_espresso'); ?>
					</span>
					<?php } ?>
					<span class="span_event_date_value">
					<?php echo event_date_display($start_date, get_option('date_format')); ?>
					</span>
	<?php if ($end_date !== $start_date) : ?>
					<br/>
					<span class="span_event_date_label">
						<?php _e('End Date: ', 'event_espresso'); ?>
					</span>
					<span class="span_event_date_value">
					<?php echo event_date_display($end_date, get_option('date_format')); ?>
					</span>
	<?php endif; ?>
					<?php echo apply_filters('filter_hook_espresso_display_ical', $all_meta); ?>
				</p>

2) I cannot recreate this, could you link to an example ticket? (just copy the URL when you have the ticket in your browser and paste it here)

The support post ‘Multi-Day Event – Info Not Displaying Properly’ 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