Events schedule description

Home Forums Calendar Products Events Calendar PRO Events schedule description

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1015939
    communityanswers
    Participant

    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

    #1016040
    Josh
    Participant

    Hey,

    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!

    #1016897
    communityanswers
    Participant

    All 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

    #1017234
    Josh
    Participant

    Hey 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!

    #1020768
    communityanswers
    Participant

    I 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,
    Virginia

    #1021288
    Josh
    Participant

    Hey 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!

    #1022588
    communityanswers
    Participant

    We 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”&gt;

    <?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=&#8217; . $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(); ?>

    #1023070
    Josh
    Participant

    Hey,

    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!

    #1023270
    communityanswers
    Participant

    We 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.

    #1023714
    Josh
    Participant

    Hey,

    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!

    #1028179
    communityanswers
    Participant

    Josh, just sent zip file. Again, thanks.

    Virginia

    #1028707
    Josh
    Participant

    Hey 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!

    #1029782
    communityanswers
    Participant

    Josh,

    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

    #1030188
    Josh
    Participant

    Hey,

    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!

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Events schedule description’ is closed to new replies.