• Resolved Betsy

    (@bethbacken)


    The Events Calendar version 2.0.10
    url: http://wemn.backenweb.com/events/upcoming/

    I updated from an older version to the newest The events calendar. I spent some time working out the kinks in the big update. Couple of things I’m not sure how to fix:

    in list view, it is showing the phone and the cost ABOVE the table for the event meta data. (Please see url above)
    The code in the list dot php document looks like this:

    <?php
       $phone = the_event_phone();
       if ( !empty( $phone ) ) :
    ?>
    <tr>
    <td class="tec-event-meta-desc"><?php _e('Phone:', $spEvents->pluginDomain) ?></td>
    <td class="tec-event-meta-value"><?php echo $phone; ?></td>
    </tr>
    <?php endif; ?>

    The venue was doing the same thing, until I took out the php above and below the table row, and changed the $phone to the_event_phone. Of course I’d prefer to be able to have those items hidden if they are empty. Any idea what the problem is?

    Oh, and one more problem, I’ve checked to have a link of google map, but the link is not appearing on the list page under the Address label even though it looks alright. At least, I can’t spot any reason.

    <?php if (tec_address_exists( $post->ID ) ) : ?>
    <tr>
    <td class="tec-event-meta-desc"><?php _e('Address:', $spEvents->pluginDomain); ?><br />
    <?php if( get_post_meta( $post->ID, '_EventShowMapLink', true ) == 'true' ) : ?>
    <?php $mapArgs = array("f"=>"q","source"=>"s_q","geocode"=>""); ?>
    <a class="gmap" href="<?php event_google_map_link( null, $mapArgs ); ?>" title="Click to view a Google Map" target="_blank"><?php _e('Google Map', $spEvents->pluginDomain ); ?></a>
    <?php endif; ?></td>
    <td class="tec-event-meta-value"><?php tec_event_address( $post->ID ); ?></td>
    </tr>
    <?php endif; ?>

    Thanks in advance!

    http://wordpress.org/extend/plugins/the-events-calendar/

Viewing 1 replies (of 1 total)
  • Hi Betsy. Thanks for the note here, and apologies on our end for the delayed response – we haven’t been on the forums here since before the holidays, but we’re returning as of this week to active monitoring. I hope we haven’t kept you waiting in a bad position on your site for too long!

    Have you updated to 2.0.11 yet? If not, mind giving it a shot and letting me know if the issue persists? I see it still is happening on the link provided, so my guess is you haven’t updated yet…but if you have let me know. Does this persist when switching to a different template under Events -> Settings?

    As to the Google Map link/button; that shouldn’t actually appear in list view, unless I’m reading your note incorrectly here. The map options are only accessible from within a given entry itself.

    Hope that helps. Let me know about those points above, and I’ll do what I can to follow-up as needed.

Viewing 1 replies (of 1 total)
  • The topic ‘The Events Calendar Meta data hidden as though blank, but showing above table’ is closed to new replies.