WordPress.org

Support

Support » Plugins and Hacks » The Events Calendar » [Resolved] [Plugin: The Events Calendar] Calender buttons misplaced

[Resolved] [Plugin: The Events Calendar] Calender buttons misplaced

Viewing 15 replies - 31 through 45 (of 68 total)
  • Plugin Author geoffgraham

    @geoffgraham

    Hey Rob, thanks for the heads up. I’ll keep my eyes open for 2.1 and let you know how it goes when I install it.

    Hey Geoff, as Rob mentioned we have a fix for this in the works but it might be a bit before it comes out. I’ve figured out an interim solution and if you send me a copy of your theme I can get you some code to fix this. You can just go through my website through my WordPress profile and then through my contact form.

    Thanks,
    Jonah

    Plugin Author geoffgraham

    @geoffgraham

    Hey Jonah, thanks for following up! I’ll drop you a line through your site in just a few.

    Geoff

    Plugin Author Rob La Gatta

    @roblagatta

    Thanks Jonah!

    Geoff: if we can do anything else, please let us know. If you’re enjoying the plugin and would be so kind as to mark us a “Works” here on the WordPress.org page, we sure would appreciate it 🙂 Thanks for your support and bearing with us on this issue.

    Hi

    Can anyone please let me know how Geoff managed to sort out the uneven buttons (when viewing a different month) problem…I have been on this for hours and am desperately looking for a fix.

    Many, many thanks in advance.
    Jeremy

    Plugin Author geoffgraham

    @geoffgraham

    Hey Jeremy,

    Jonah was kind enough to provide a fix to my code offline. He’ll be able to explain it better, but it did involve adding a /events directory to the theme and adding a new default template or two, depending on your layouts.

    He added this snippet above the call for the header:

    <?php
    // Don't load directly
    if ( !defined('ABSPATH') ) { die('-1'); }
    ?>

    And included this one where the page content begins:

    <?php include(tribe_get_current_template()); ?>

    You will name this file ecp-page-template.php and save it to the aforementioned /events directory.

    He also instructed me to go back into the plugin settings under Template and select Default Events Template from the Events Template option.

    Like I said, Jonah can explain it much better if this post sounds insane, but hopefully it points you in the right direction.

    Geoff

    Thanks Geoff…well appreciated…looks too complicated for me, hopefully Jonah may get back to me.

    Thanks again for the help
    Jeremy

    Hey jeztechs,

    Did you switch your Events Template to “Default Events Template” in Settings > The Events Calendar?

    That should partially fix the issue. The other part of the issue is theme related.

    – Jonah

    Plugin Author geoffgraham

    @geoffgraham

    Hey Jonah,

    One thing I somehow missed in the fix you provided: the post content is gone from the single template.

    Example:
    http://foursquare.bethouawesome.com/event/event-example-2/

    If you view the event in a Grid or List view, you can see there is content associated with the post. However, the single template seems to leave it out.

    Any thoughts?

    Thanks again for your help!

    Hi Geoff,

    Try making a copy of /wp-content/plugins/the-events-calendar/views/ecp-single-template.php and placing it in the ‘events’ folder in your theme and modifying it so it includes either the_excerpt() or the_content() – you’re going to need to play around with it a bit but that’s the template used for single events when you have the Events Template selected in the settings.

    I hope that helps!

    – Jonah

    Plugin Author geoffgraham

    @geoffgraham

    Yeah, that’s what I had tried, but still come up flat:

    <?php
    // Don't load directly
    if ( !defined('ABSPATH') ) { die('-1'); }
    ?>
    <?php get_header(); ?>
    <div class="row">
    	<div id="page-full" class="span11">
    <h1><?php tribe_events_title(); ?></h1>
    <hr />
    <?php include(tribe_get_current_template()); ?>
    <?php the_content(); ?>
    	</div><!--end page-full-->
    </div><!-- end row -->
    <?php include ('sidebar-fullwidth.php'); ?>
    <?php get_footer(); ?>

    Does my the_content() need to be somewhere else or am I missing something?

    Plugin Author Rob La Gatta

    @roblagatta

    Hey there Geoff. Thanks for the follow-up here; not sure Jonah saw your response but I’ve passed it back his way just to be safe. Stay tuned!

    Plugin Author geoffgraham

    @geoffgraham

    Thanks for the heads up, Rob! Staying tuned. 🙂

    Hi Geoff,

    I’ve still got your theme in my dev environment and tested this out using the core version of ecp-single-template.php (no override) and I see the content for events. Have you tried deactivating other plugins to see if there’s a conflict of sorts? I’m not sure what else to have you try…

    – Jonah

    Plugin Author geoffgraham

    @geoffgraham

    Hey Jonah, you’re right. I’m unsure what I was doing before, but repeating the process of moving the ecp-single-template.php with no overrides seemed to do the trick. Thanks again for your help and doing awesome work.

Viewing 15 replies - 31 through 45 (of 68 total)
  • The topic ‘[Resolved] [Plugin: The Events Calendar] Calender buttons misplaced’ is closed to new replies.
Skip to toolbar