Home › Forums › Calendar Products › Events Calendar PRO › Events schedule description
- This topic has 13 replies, 2 voices, and was last updated 8 years, 5 months ago by Josh.
-
AuthorPosts
-
October 19, 2015 at 12:10 pm #1015939communityanswersParticipant
Just upgraded to ECP 3.12.4 and thought this next upgrade would fix this. Do you have a delivery time?
In the past: the schedule showed up on the front end as:
Schedule: Every day until October 15, 2015 (See all)Now after upgrade it shows up as:
Schedule: An event every day that lasts 0 day(s) and 0 hour(s), the last of which will begin on July 16, 2016 (See all)you can see this at: http://www.communityanswers.org/event/6th-and-final-exhibit-of-the-season-donna-forma-layer-upon-layer/2016-06-21/
It was previously posted at https://theeventscalendar.com/support/forums/topic/recurring-events-schedule-description/#post-1011725
October 19, 2015 at 5:17 pm #1016040JoshParticipantHey,
Thanks for following up with us here.
I took a look at our internal system and it looks like the original ticket that was created has been shipped. However, it looks like there may have been a misunderstanding with the original issue since there were multiple participants on that previous thread.
As a starting point, would you mind sending me a screenshot of the recurrence rules that you have set within the event settings for the linked event?
Thanks!
October 22, 2015 at 7:46 am #1016897communityanswersParticipantAll of our recurring events show this problem. See http://www.communityanswers.org/event/community-yoga/2015-12-19/
You can see the front end jpeg here: http://www.communityanswers.org/?attachment_id=24629
back end here: http://www.communityanswers.org/?attachment_id=24628
(sorry for the links – could not find where to upload jpegs and your email was noreply)
FYI – I work part time, so give me 3 business days to respond prior to closing out the ticket.
Virginia
October 23, 2015 at 6:56 am #1017234JoshParticipantHey Virginia,
Thanks for providing the additional links and info!
I’ve created a feature ticket for updates to how we handle the descriptions now that we have much more complex recurrence options available. If you would like, you can also create a new UserVoice request for this feature.
Thanks!
November 2, 2015 at 7:11 am #1020768communityanswersParticipantI just updated to ECPro ver. 3.12.5 thinking that the new “Feature – Bring back the Recurrence Rule description override field” for this update would fix our recurrence description problem, but it has not. Did I misunderstand it’s function? where this override exists? and do we have an expected delivery date on this issue?
Thanks,
VirginiaNovember 3, 2015 at 8:04 am #1021288JoshParticipantHey communityanswers,
Thanks for following up here. I just tested this on my local install and it properly updated the description where it naturally gets output as the hover over the “See All” at the top of the recurring event.
Looking at your site it does appear that this view has been customized. If you don’t mind, would you mind posting the code that is used to output that description on your page? You should be able to find this within a “tribe-events” folder within your theme.
Thanks!
November 6, 2015 at 9:06 am #1022588communityanswersParticipantWe need to change the description so that it shows start and end date (no timing allowed) and then it shows correctly on the callendar andin the event listing. When we use RECURRANCE RULES, that’s when we have the schedule problem. Code listed below:
<?php
/**
* The Template for displaying all single event posts
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/get_header(); ?>
<div id=”primary” class=”site-content”>
<div id=”content” role=”main”><?php while ( have_posts() ) : the_post(); ?>
<header class=”entry-header”>
<?php the_title(); ?>
<?php
if ( function_exists( ‘sharing_display’ ) ) {
echo sharing_display();
}
?>
</header><div class=”entry-content”>
<!– GET THE CUSTOM FIELDS FOR ORGANIZATION –>
<div id=”tribe-events-event-meta”>
<dl class=”column”><?php if(get_field(‘acronym’)) : ?>
<dt><?php _e(‘Acronym:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”telephone”><?php echo get_field(‘acronym’); ?></dd>
<?php endif; ?><?php if(get_field(‘phone’)) : ?>
<dt><?php _e(‘Phone:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”telephone”><?php echo get_field(‘phone’); ?></dd>
<?php endif; ?><?php if ( get_field(‘fax’) ) : ?>
<dt><?php _e(‘Fax:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”telephone”><?php echo get_field(‘fax’); ?></dd>
<?php endif; ?><?php if ( get_field(’email’) ) : ?>
<dt><?php _e(‘Email:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”telephone”>“><?php echo get_field(’email’); ?></dd>
<?php endif; ?><?php if ( get_field(‘website’) ) : ?>
<dt><?php _e(‘Website:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”telephone”>” target=”_blank”><?php echo get_field(‘website’); ?></dd>
<?php endif; ?><dt><?php _e(‘Updated:’, ‘tribe-events-calendar’) ?></dt>
<dd><span class=”date updated”><?php echo get_the_modified_date(); ?></span></dd></dl>
<dl class=”column” itemprop=”location” itemscope itemtype=”http://schema.org/Place”>
<?php if ( get_field(‘postal_address’) ) : ?>
<dt><?php _e(‘Postal Address:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”telephone”><?php echo get_field(‘postal_address’); ?></dd>
<?php endif; ?><?php $physical = trim(get_field(‘street’)) . ‘ ‘ . trim(get_field(‘city’)) . ‘ ‘ . trim(get_field(‘province’)) . ‘ ‘ . trim(get_field(‘postal_code’)); ?>
<?php if ( $physical ) : ?>
<dt><?php _e(‘Physical Address:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”address”><?php echo $physical; ?>
<?php
$output = str_replace(‘ ‘,’+’,$physical);
$output2 = ‘https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=’ . $output;
$output2 = esc_url($output2);
echo ‘Google Map‘;
?>
</dd><?php endif; ?>
<?php if ( get_field(‘open_hours’) ) : ?>
<dt><?php _e(‘Open Hours:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”telephone”><?php echo get_field(‘open_hours’); ?></dd>
<?php endif; ?><?php if ( get_field(‘square_footage’) ) : ?>
<dt><?php _e(‘Meeting Space:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”telephone”><?php echo get_field(‘square_footage’); ?></dd>
<?php endif; ?></dl>
</div> <!– .tribe-events-event-meta –><!– get the contacts for this organization –>
<?php if ( get_field(‘contacts_multi’) ) : ?>
<?php $count = 0; ?>
<div id=”tribe-contacts-event-meta”>
<p>Contacts:</p>
<?php while(the_repeater_field(‘contacts_multi’)) : ?><?php $contacts = get_field(‘contacts_multi’); $count++; ?>
<dl class=”column”>
<?php if (get_sub_field(‘contact_name’)) : ?>
<dt><?php _e(‘Name:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”telephone”><?php the_sub_field(‘contact_name’); ?></dd>
<?php endif; ?><?php if (get_sub_field(‘contact-number’)) : ?>
<dt><?php _e(‘Phone:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”telephone”><?php the_sub_field(‘contact-number’); ?></dd>
<?php endif; ?><?php if (get_sub_field(‘contact-email’)) : ?>
<dt><?php _e(‘Email:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”telephone”>“><?php the_sub_field(‘contact-email’); ?> </dd>
<?php endif; ?><?php if (get_sub_field(‘contact-position’)) : ?>
<dt><?php _e(‘Position:’, ‘tribe-events-calendar’) ?></dt>
<dd itemprop=”telephone”><?php the_sub_field(‘contact-position’); ?></dd>
<?php endif; ?>
</dl>
<?php if ( $count % 2 == 0 ) { ?>
<div class=”fix”></div>
<?php } // End IF Statement ?><?php endwhile; ?>
<?php if ( get_field(‘contacts-name’) ) : ?>
<?php echo get_field(‘contact-name’); ?>
<?php endif; ?>
</div><?php endif; ?>
<?php /* get_template_part( ‘content’, get_post_format() ); */?>
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<header class=”entry-header”>
<?php the_post_thumbnail(); ?>
</header>
<p>Description:</p>
<div class=”entry-content”>
<?php remove_filter( ‘the_content’, ‘sharing_display’,19 ); the_content(); ?><?php if ( get_field(‘notes’) ) : ?>
<?php _e(‘Notes:’, ‘tribe-events-calendar’) ?>
<p><?php echo get_field(‘notes’); ?></p>
<?php endif; ?>
<?php if ( get_field(‘programs’) ) : ?>
<?php _e(‘Programs:’, ‘tribe-events-calendar’) ?>
<p><?php echo get_field(‘programs’); ?></p>
<?php endif; ?>
<?php if ( get_field(‘annual_events’) ) : ?>
<?php _e(‘Annual Events:’, ‘tribe-events-calendar’) ?>
<p><?php echo get_field(‘annual_events’); ?></p>
<?php endif; ?><?php $terms = get_the_terms( get_the_ID(), ‘org_category’ );?>
<p><?php _e(‘Categories:’, ‘tribe-events-calendar’) ?>
<?php echo get_the_term_list( get_the_ID(), ‘org_category’, ”, ‘, ‘, ” ); ?></p><?php if ( get_the_tags() ) : ?>
<p><?php _e(‘Tags:’, ‘tribe-events-calendar’) ?>
<?php the_tags(”,’, ‘,”); ?></p>
<?php endif; ?></div><!– .entry-content –>
</article><!– #post –>
</div><!– .entry-content –>
<?php /* comments_template( ”, false ); */ ?>
<?php endwhile; // end of the loop. ?>
</div><!– #content –>
</div><!– #primary –><?php get_sidebar(); ?>
<?php get_footer(); ?>November 8, 2015 at 12:54 pm #1023070JoshParticipantHey,
Thanks for following up and providing the code above. Unfortunately it doesn’t appear that the code we need is in this section. Out of curiosity, is there a modules > meta > details.php file in the theme is well? If so the necessary information is probably in there.
Thanks!
November 9, 2015 at 8:51 am #1023270communityanswersParticipantWe don’t have that file in our theme. We discovered that the description works fine as long as we don’t use the recurrence rules. It’s a shame as that is a useful feature. I’ll be out of town until the 19th so if you have further exploration for me to work on, please hold off until then. Thanks again for your assistance.
November 10, 2015 at 7:15 am #1023714JoshParticipantHey,
No problem. If you would like you can send a zip file of your theme to support[at]theeventscalendar.com and I can take a quick look to see where the conflicting code is at.
Also, our threads here will close automatically after 2 weeks of inactivity so it should be fine to have this one wait until you return on the 19th.
Thanks!
November 19, 2015 at 10:30 am #1028179communityanswersParticipantJosh, just sent zip file. Again, thanks.
Virginia
November 20, 2015 at 10:59 am #1028707JoshParticipantHey Virginia,
Thanks for providing that!
I reviewed and found the issue with the description there. Within your tribe-events > modules > meta folder within your theme you’ll want to replace the complete contents of the “details.php” file with this:
https://gist.github.com/847869bbf08190f2fc74
Let me know if this helps.
Thanks!
November 23, 2015 at 11:24 am #1029782communityanswersParticipantJosh,
I really appreciate it. The change to the details.php file didn’t help, but in the scheme of things this is a minor inconvenience. So if you want to close the ticket, it’s okay with us. In the process of working on this we’ve learned better how to use the recurrence rules to our advantage so – thanks and in general, we are pleased with the plugin.
Happy Thanksgiving
November 24, 2015 at 7:00 am #1030188JoshParticipantHey,
No problem. Also, I would like to clarify one thing about the above code. I was a bit vague when adding, but the intention of the code is that the description will now either be the default that you were seeing before or can be replaced with the custom description field contents that are now available again when setting the recurrence. If that is blank for the event, the same, ugly description will continue to display there.
I’ll go ahead and close this thread for now. If you have any further questions, please don’t hesitate to open a new thread.
Happy Thanksgiving to you as well!
Thanks!
-
AuthorPosts
- The topic ‘Events schedule description’ is closed to new replies.