WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: The Events Calendar] Grid calendar can't show dates other than current month (45 posts)

  1. worthwhileluxury
    Member
    Posted 4 years ago #

    I have installed the events calendar on a blog I'm doing for a golfer and he needs to put up all his events. Events show for January but when we select the month February from the drop down menu at the top it kicks out an error page and says what we are looking for is not there.
    Is there a fix for this problem? What do I do? Please help it is urgent.

  2. justinendler
    Member
    Posted 4 years ago #

    Howdy,

    I can't replicate this bug. Can you paste the error you're getting? Is it your 404 page?

    Justin

  3. Shane Pearlman
    Modern Tribe
    Posted 4 years ago #

    Sounds like it could be some type of permalink issue. Out of curiosity, what permalink structure do you set?

  4. worthwhileluxury
    Member
    Posted 4 years ago #

    Goodness I'm still new so be kind to me guys! lol.
    The page gives

    Not Found

    Sorry, but you are looking for something that isn’t here.

    http://andrewgeorgiou.com/?cat=8/2010-02/

    Using default permalink structure: Permalink: http://andrewgeorgiou.com/?p=298

    Does this help?

  5. worthwhileluxury
    Member
    Posted 4 years ago #

    Will it help if I completely delete the plug in and take it off the server and reinstall?

  6. Shane Pearlman
    Modern Tribe
    Posted 4 years ago #

    Yup you sure do seem to have a legit bug. We'll poke at it a bit and get back to you. See if we have any ideas.

    Can you try something for me: change your permalink structure (settings > permalinks) to custom: /%postname%. Does the bug still happen?

  7. worthwhileluxury
    Member
    Posted 4 years ago #

    ARE YOU A HUNNY OR WHAT!!!??? it works now. What a little bug? hehe
    Thank you kindly sir.

  8. worthwhileluxury
    Member
    Posted 4 years ago #

    now since I'm registered on Gravatar why the heck doesn't my gravatar show here? I'm struggling with those stupid albeit useful little things!

  9. Shane Pearlman
    Modern Tribe
    Posted 4 years ago #

    interesting - so we do have a permalink issue. What is the new link to the cal - so we can test?

  10. worthwhileluxury
    Member
    Posted 4 years ago #

  11. numethod
    Member
    Posted 4 years ago #

    Definitely a permalink issue. I run permalink structure /index.php/%category%/%postname%/

    - I can't switch between grid / list view, nor switch a month like OP.

    When trying to switch views it will try to go to something like category/events/upcoming - omitting the index.php, and adding 'category'. ALthough even if I manually enter the perceived right address, such as index.php/events/upcoming - it spits out a generic no posts found message from the original wordpress post/page template loop

    Any ideas to fix? I have a project I'm working on so an ETA on a solution would be killer. Thanks!

  12. Shane Pearlman
    Modern Tribe
    Posted 4 years ago #

    We actually fixed this specific bug in an old branch. Perhaps it got merged out in an past merge. Let me check with the other contributors and get back to you on the eta.

  13. kelseydamas
    Member
    Posted 4 years ago #

    Hi Everyone,

    Sorry you're having this issue. To fix it, replace your datepicker.php file with the following code and it should work with any permalink settings (including the default!)

    <?php
    if( '' == get_option('permalink_structure') ) {
            $link =  trailingslashit( get_bloginfo('url') ) . '?cat=' . $spEvents->eventCategory() . '&eventDisplay=month&eventDate=';
    } else {
            $link = get_bloginfo( 'url' ) . '/' . $spEvents->getCategoryBase() . '/' . strtolower( The_Events_Calendar::CATEGORYNAME ) . '/';
    }
    ?>
    <script type="text/javascript" charset="utf-8">
            jQuery(document).ready(function(){
                    jQuery('.<?php echo $prefix; ?>events-dropdown').change(function( ){
                            monthSelect = jQuery('#<?php echo $prefix; ?>events-month');
                            yearSelect = jQuery('#<?php echo $prefix; ?>events-year');
                            jumpMonth = monthSelect.attr("options")[monthSelect.attr("selectedIndex")].value;
                            jumpYear = yearSelect.attr("options")[yearSelect.attr("selectedIndex")].value;                        location.href = '<?php echo $link; ?>' + jumpYear + '-' + jumpMonth;
                    });        });
    </script>
    <select id='<?php echo $prefix; ?>events-month' name='EventJumpToMonth' class='<?php echo $prefix; ?>events-dropdown'>
            <?php echo $monthOptions; ?>
    </select><select id='<?php echo $prefix; ?>events-year' name='EventJumpToYear' class='events-dropdown'>
            <?php echo $yearOptions; ?></select>
  14. numethod
    Member
    Posted 4 years ago #

    Thanks for the help Kelsey, however it doesn't seem to have affected anything. I deactivated/reactivated the plugin, as well as resaving my permalink settings after the change.

    The calendar still directs to single entrys fine, but clicking grid view/list view, or changing month, still results in the issue I mentioned above.

    Also, on the single entry page, when I click 'back to events' the permalinks fail as well.

  15. kelseydamas
    Member
    Posted 4 years ago #

    numethod,

    I am testing again using your permalinks setting of /index.php/%category%/%postname%/ and can't reproduce your issue using the 1.5.2 download of this plugin...The links to the gridview and the date picker are working for me.

    Can you tell me more about your configuration? Is index.php served by default by your webserver, or do you need to include index.php in the URL for wordpress to work?

  16. numethod
    Member
    Posted 4 years ago #

    Kelsey,

    I'm using the latest version of the plugin, no worries there. You can check out the issue at
    http://www.princesslodges.com/blog/index.php/events - you can see what happens when trying to switch the date, or between list/grid view

    - The permalink structure for this site is /index.php/%category%/%postname%

    I have to use index.php rather then omitting it in the permalink structure due to client redirection rules written into the index.php file.

    Thanks for the assistance!

  17. jhowlett12
    Member
    Posted 4 years ago #

    I am having the same issue as numethod. Advice would be great on this issue.

    thank you

  18. Jason Newlin
    Member
    Posted 4 years ago #

    I am also having this issue, every month just displays the 'current' month.

    WordPress version - 2.9.1
    Plugin version - 1.5.4
    Permalinks setup - /%postname%/

    Not sure how to fix, I have tried deactivating the plugin, reoding the permalinks, and deleting the category 'events'. Then reinstalling again. No luck.

    Example url: /category/events/2010-03/
    Should show March, but still shows February (current month).

    Thanks!

  19. justinendler
    Member
    Posted 4 years ago #

    @numethod
    Checking out your link, it looks like the issue is fixed now. Can you tell us what you did?

    @jasonnewlin
    Do you have a live version somewhere I could visit?

  20. Jason Newlin
    Member
    Posted 4 years ago #

    @justinendler - sure do: http://pnp.synergyclients.com/category/events/

    Thanks for your help.

  21. justinendler
    Member
    Posted 4 years ago #

    Hi,

    This is a killer bug. I know it's messing with some people, but I cannot reproduce it. Anymore information about your setup, including your theme?

    Also, I think this is related to the RSS bug:
    http://wordpress.org/support/topic/354765?replies=10

    Can you confirm that you're not getting an events-specific RSS feed?

    Justin

  22. Jason Newlin
    Member
    Posted 4 years ago #

  23. Jason Newlin
    Member
    Posted 4 years ago #

    @justinendler - I figured out that it is a multiple loop issue.

    BUT, no matter what I do I cannot get another loop to run on the same page as grid view.

    Not sure why, I have tried everything I have in the past to run multiple loops on a page, and nothing seems to be working.

    If you have any ideas, that would be great! Thanks.

  24. Jason Newlin
    Member
    Posted 4 years ago #

    @justinendler - RESOLVED.

    I ended up doing a 'get_posts()' instead of a loop for my featured post, and that seemed to do the trick.

    Thanks for your help.

  25. morg7801
    Member
    Posted 4 years ago #

    I'm having the same problem with the drop down menu showing ONLY the current month. http://www.brettthompsonracing.com/blog/?cat=6 Do I need to change around my permalink structure which is default?

  26. wayn
    Member
    Posted 4 years ago #

    I have the same problem as jasonnewlin. Here, however, it is your "Event List" widget that causes the multiple loops conflict.

  27. musicab
    Member
    Posted 4 years ago #

    Hi,
    I have this problem as well. I have tried to fix datepicker.php file with the previous code. I use the default permanent link.
    As you can see just February is shown on my page:
    http://thiagoabdalla.com/?cat=24&eventDisplay=month

    And it is just showing events on "today´s day". Any other day that I post an event it gets hidden...
    thanks
    Thiago Abdalla

  28. thebushman
    Member
    Posted 4 years ago #

    The issue I am having is when I choose a month from the drop down menu NOTHING happens.

    Do we have any idea why it does this?

  29. kaichen
    Member
    Posted 4 years ago #

    I'm having the same problem as thebushman and some other users here.
    http://www.rachel-media.de/wordpress/category/events/month

    de- and reactivated it - nothing happening
    un- reinstalled it - nothing happening

    permalinks; /%postname%

    WP: 2.9.2
    calendar: 1.5.5

    jasonnewlin resolved the issue, but I can't follow him / don't know what he means and did.

    @jasonnewlin: could you give some more detailed instructions?

    thanks for feedback

  30. thebushman
    Member
    Posted 4 years ago #

    Yes if Jasonnewlin could explain what he did, it would be great of if someone else could chime in.

    Only thing at the moment stopping me from using the plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic