WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: The Events Calendar] default grid view should show current events (7 posts)

  1. chris153
    Member
    Posted 4 years ago #

    I am using gridview

    'View all events' in the widget links to /category/events/month, which shows the current month in grid form, but not its events. I have to navigate to a different month, and back again, to get /category/events/2010-03, which shows the current month's events.

    I get the same behaviour in my custom theme and in Kubrick default theme. I haven't edited any of the calendar's template files. The calendar button above the grid also links back to category/events/month, and an empty grid.

    Surely this is not intended?

  2. Jackson
    Member
    Posted 4 years ago #

    I'm noticing the same behavior.

    I added some dynamic url redirection to update the URL to /category/events/2010-03

    But less than ideal.

  3. websherpa
    Member
    Posted 4 years ago #

    @madjax

    Could you share your dynamic url redirection for those of us with only glancing php skills that want to install a temporary fix?

    Please. :)

  4. Taiyoryu
    Member
    Posted 4 years ago #

    Version 1.5.5
    Line 755

    change

    $category_base . '/' . strtolower( The_Events_Calendar::CATEGORYNAME ) . '/month' => 'index.php?cat=' . $categoryId . '&eventDisplay=month',

    to

    $category_base . '/' . strtolower( The_Events_Calendar::CATEGORYNAME ) . '/month' => 'index.php?cat=' . $categoryId . '&eventDisplay=month' . '&eventDate=' . date('Y-m'),

  5. surfnmike1
    Member
    Posted 4 years ago #

    @ Taiyoryu

    Thanks for the fix!!!

  6. justinendler
    Member
    Posted 4 years ago #

    I think this issue may be dealt with near the bottom of this thread:
    http://wordpress.org/support/topic/371084

    Let me know if this is a separate issue. Thanks.

    @chris153 - If the fix in that thread doesn't work, what plugin version are you on?

    Justin

  7. chris153
    Member
    Posted 4 years ago #

    Gridview is working for me now, but I don't know if this is because we are no longer on a date with a repeated number (10/03/10 - see the thread mentioned just above by @justinendler), or because I have updated to the most recent version, released yesterday. Was this issue addressed in the latest release? On 10/03/10 I was using the most up-to-date release available then.

    It's a great plugin - thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic