Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter RyandaDwi

    (@ryandadwi)

    Nevermind, please change this thread as RESOLVED

    1. I dont know what was going on with the navigation. So I edit nav.php in the-events-calendar/views/month
    then I changed this part

    <ul class="tribe-events-sub-nav">
    	<li class="tribe-events-nav-previous">
    		<a href="" onclick="window.location.href='<?php echo events_get_previous_month_link(); ?>'" class="tribe-event-navigation" id="tribe-navi-prev" title="Previous Month">
            	<< <?php echo events_get_previous_month_text(); ?>
            </a>
    	</li>
    	<!-- .tribe-events-nav-previous -->
    	<li class="tribe-events-nav-next">
    		<a href="" onclick="window.location.href='<?php echo events_get_next_month_link(); ?>'" class="tribe-event-navigation" id="tribe-navi-next" title="Previous Month">
            	 <?php echo events_get_next_month_text(); ?> >>
            </a>
    	</li>
    	<!-- .tribe-events-nav-next -->
    </ul><!-- .tribe-events-sub-nav -->

    FYI, I used onclick event because, I dont know what is happening with the template. Href doesnt work at all. If you can use href on your theme, you are lucky.

    2. 404 page problem still show up when I refresh page after search event. So I decaded to turn off search setting. I am waiting for any update about this in another thread.

    THanks !

    Brook

    (@brook-tribe)

    Thanks for the update Ryanda. I do not see your other topic though abour the 404. If you still need a response there please let me know, maybe link to it if possible. Cheers!

    – Brook

    Just in support of Ryanda, I had the same problem when I installed Events Calendar on a site I am building. I’ve done no customisation on the events, just plugged in and added a few events. Pagination wasn’t working for me at all, clicking on Next Events just chucks me back to the top of the page without reloading the events list to page 2.

    Also regarding the search, I had to disable the search bar for the same reason as Ryanda… weirdly on page loads it would think I was searching for “Search” and “Date” as the placeholders appeared to be actual search content in the fields!

    I’m going to try Ryanda’s fix now.

    Brook

    (@brook-tribe)

    Thanks for the info spoonofmilk. It sounds like you both are experiencing a JS error. When these happen those links stop working, and the Tribe Bar behaves improperly. It’s unfortunate, but it is the way of things.

    I have seen this problem all too often, and it is always the result of a conflict. JS is simply prone to conflicts. We do a lot to try and minimize these, but it is impossible to completely eliminate them because it’s JavaScript. To test for a conflict checkout this tutorial: Test For Conflicts Odds are strong it is your theme itself. If so, you might give Ryanda’s solution a go. Your theme might be suffering form the exact same conflict. But, if it is a different one you might need to contact your theme author, or another theme expert to help you identify and resolve the conflict. 🙁 I wish there was more I could do from here, but it usually requires a lot of knowhow and being hands on to integrate a conflicting theme and plugin.

    Cheers!

    – Brook

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Prev and Next month navigation doesnt show 404 when search’ is closed to new replies.