css class "tribe-events-nav-next" not showing up

Home Forums Calendar Products Events Calendar PRO css class "tribe-events-nav-next" not showing up

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #931717
    Roland
    Participant

    Hi,

    In calendar view, the next month button doesn’t show up. This previous month button does.
    If I look in “Inspect element” in Chrome, I see not content listed in the HTML.

    Prev button:

    <li class="tribe-events-nav-previous">
      <a data-month="2015-01" href="http://webinweb.nl/cms9/activiteiten/2015-01/" rel="prev"><span>«</span> januari </a></li>

    Next button:

    <li class="tribe-events-nav-next">
    			</li>

    My version is 3.9 of The Event Calendar on WP 4.1

    Regards,

    Roland de Lepper
    WebinWeb Design

    #931733
    George
    Participant

    Hey Roland,

    Sorry you’re having trouble here. In your support ticket here, it says that you’ve tried deactivating all other plugins on your site, and also tried activating a default theme on your site like Twenty Twelve, or Twenty Thirteen/Fourteen/Fifteen…

    I’m curious: did you indeed do both things? If not, no worries, but I’d recommend trying them out thoroughly and seeing if anything changes.

    If you did do both of these things, what did you notice? Did any of this behavior change?

    Thanks for any insight on these things! 🙂
    George

    #931852
    Roland
    Participant

    Hi George,

    To be sure I deactivated all my other plugins again and checked again. Still, there is only the “previous month” button and not the “next month” button. And again I changed the theme to Twenty Fiftheen with the same results.

    I didn’t noticed any difference with the buttons. It’s exactly the same behaviour.

    Regards,

    Roland de Lepper
    WebinWeb Design

    #932128
    George
    Participant

    Hey Roland,

    Would it be possible for you to leave your site at http://webinweb.nl/cms9/activiteiten/ with Twenty Fifteen active, and all plugins other than The Events Calendar and Events Calendar PRO deactivated? I’m curious just to see how everything is behaving in that state, it might be helpful for further troubleshooting here.

    Let me know if this is possible!
    George

    • This reply was modified 11 years, 4 months ago by George.
    #932183
    Roland
    Participant

    Hi George,

    At the moment, this is not possible, because I have to work on this website today. I think Thursday would be possible. Is that suitable for you?

    BTW, I’m based in The Netherlands. Maybe handy for the time-zone, if that is an issue.

    Roland

    #932710
    George
    Participant

    Hey Roland,

    It’s indeed possible for me on Thursday, too – sorry about the troubleshooting complexities here. Please keep me posted on things and I’ll check out your site live when it’s available.

    I’ll try to recreate this issue myself to see if I can figure out what the problem is. I haven’t had luck so far but will update this ticket if that changes.

    In the meantime here, there are two more things I can think of right now that might be helpful until you can get the site up Thursday. First: would you be able to list all of the plugins that are currently installed on your site?

    Next: if possible, head to your site’s wp-config.php file and change this line of code:

    define(‘WP_DEBUG’, false);

    to this:

    define(‘WP_DEBUG’, true);

    That will display PHP errors on your site if any exist, which may be helpful here.

    Thanks!
    George

    #932918
    Roland
    Participant

    Hi george,

    Active plugins:
    1) Advanced Custom Fields
    2) Contactform7
    3) Duplicator
    4) Meta Slider
    5) Simple Lightbox
    6) The Event Calendar
    7) The Event Calendar PRO
    8) TimyMCE Advanced
    9) WordPress SEO (Yoast)
    10) WYSIWYG Widgets / Widget Blocks

    All Plugins are deactivated except for the 2 Calendar plugins.
    WP-debug is set to true
    Theme is Twenty-Fiftheen.

    Maybe this is interesting too. It just came up to me that i’ve added some code in functions.php:

    /*
     * Removes the Google Calendar and iCal single event links
     */
     
    add_action('tribe_events_single_event_before_the_content', 'tribe_remove_single_event_links');
     
    function tribe_remove_single_event_links () {
     remove_action( 'tribe_events_single_event_after_the_content', array( 'TribeiCal', 'single_event_links' ) );
    }
     
    /*
     * Uncomment the following action to add the Google Calendar Link
     */
     
    //add_action('tribe_events_single_event_after_the_content', 'tribe_add_gcal_link');
     
    function tribe_add_gcal_link() {
     
     // don't show on password protected posts
     if (is_single() && !post_password_required()) {
     echo '
    <div class="tribe-events-cal-links">';
    echo '<a class="tribe-events-gcal tribe-events-button" title="' . __( 'Add to Google Calendar', 'tribe-events-calendar' ) . '" href="' . tribe_get_gcal_link() . '">+ ' . __( 'Google Calendar', 'tribe-events-calendar-pro' ) . '</a>';
    echo '</div>
    <!-- .tribe-events-cal-links -->';
     }
     
    }
     
    /*
     * Uncomment the following action to add the iCal Link
     */
     
    //add_action('tribe_events_single_event_after_the_content', 'tribe_add_ical_link');
     
    function tribe_add_ical_link() {
     
     // don't show on password protected posts
     if (is_single() && !post_password_required()) {
     echo '
    <div class="tribe-events-cal-links">';
    echo '<a class="tribe-events-ical tribe-events-button" href="' . tribe_get_single_ical_link() . '">+ ' . __( 'iCal Import', 'tribe-events-calendar' ) . '</a>';
    echo '</div>
    <!-- .tribe-events-cal-links -->';
     }
     
    }

    Good luck!

    #933008
    Gerald
    Participant

    I’m having the same problem, anxious to see a solution.

    #935568
    Roland
    Participant

    Hi Gerald,

    Do you already have a solution for my issue?

    Kind regards,

    Roland de Lepper
    WebinWeb Design
    http://webinweb.nl

    #935812
    George
    Participant

    Hey Roland,

    Thanks for sharing that information and code above, I’m sorry that I have not seen your replies until just now.

    I’m curious, if you temporarily comment out or disable those filters you’ve added in your functions.php file, does anything change with the CSS class issue here?

    Gerald: sorry you’re having a similar problem. Can you open up a new separate ticket here on the site, and elaborate on your exact issues? Share a URL to the site you’re having the problem with, let us know if you’ve tried deactivating other plugins and/or activating a default theme and if that had any impact on things, etc. That will help us keep things organized and hopefully get you resolution more quickly.

    Thanks!
    George

    #935823
    Roland
    Participant

    Hi George,

    After removing the code in functions.php, the problem remains.

    Regards,

    Roland de Lepper
    http://webinweb.nl

    #936331
    George
    Participant

    Hey Roland,

    I cannot believe I didn’t ask this earlier, and am sorry I haven’t – do you indeed have events in the future months you’re trying to navigate to? If not, then by default the “Next” button will not show up.

    Gerald, if you see this – what about you?

    I’m sorry I didn’t ask this question earlier, sometimes the most obvious things slip your mind. Thank you both for your patience with this issue.

    — George

    #936333
    Gerald
    Participant

    Hello George,

    You are correct! After adding all events the next/previous month buttons did indeed show up.

    All is well. Great plugin.

    Thanks for the help.

    #937487
    Roland
    Participant

    Hi George,

    Added an event in the future, but still no ‘next month’ link/button.

    Regards,

    Roland de Lepper
    http://webinweb.nl

    #937708
    George
    Participant

    Hey Roland,

    Can you share a link to the event you created in the future?

    Also, would there be any way now to do what I recommended above, where you deactivate every plugin other than Events Calendar and Events PRO on your site like you did before, and then activate a default theme like Twenty Twelve on your site? Just temporarily – I understand your site is public, and, if you can do this, we’ll work as fast as we can to minimize the amount of time the default theme is live on your site.

    Cheers,
    George

Viewing 15 posts - 1 through 15 (of 18 total)
  • The topic ‘css class "tribe-events-nav-next" not showing up’ is closed to new replies.