REMOVE CALENDAR GRID

Home Forums Calendar Products Events Calendar PRO REMOVE CALENDAR GRID

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #166271
    1968rouleur
    Participant

    I’m following the directions posted here:

    https://theeventscalendar.com/remove-calendar-grid-from-calendar-widget/

    But nothing is happening. The calendar grid is still there as normal. I’ve double and triple checked that I’ve put the correct file in the correct path…

    #166650
    Casey D
    Member

    Hello 1968rouleur,

    Thanks for letting us know about this! It was out of date and I slightly tweaked it so that it works now (I confirm it works on my local machine).

    The template belongs in

    {theme}/tribe-events/widgets/mini-calendar-widget.php

    not

    {theme}/tribe-events/pro/views/widgets/mini-calendar-widget.php

    Does this make sense? Let me know if this doesn’t work for you.

    Cheers!

    – Casey Driscoll

    #166968
    1968rouleur
    Participant

    Okay, moved the file to that location. No change, still seeing the grid view.

    #167969
    Casey D
    Member

    Hello 1968rouleur,

    Luckily I had this screen from the other thread!

    http://i.imgur.com/TcvVL58.png

    I think your directories are capitalized. If you change ‘Widgets’ to ‘widgets’ I believe it should work.

    Does this make sense? Let me know if this doesn’t work for you.

    Cheers!

    – Casey Driscoll

    #168204
    1968rouleur
    Participant

    Okay, changing the file names to all lower case does remove the grid view. HOWEVER, the widget is now listing the PAST four events (even though I’ve specified five) and they’re in REVERSE CHRONOLOGICAL ORDER! Oh, and it says they’re all taking place tomorrow for some reason.
    Seriously, you guys are killing me here.

    #169095
    Casey D
    Member

    Sorry for the headaches and thanks for your patience.

    The tutorial was out of date, but it is now updated with the proper code. I’ve tested it, and it should work on your system. Only the second to last line needs to be updated.

    https://theeventscalendar.com/remove-calendar-grid-from-calendar-widget/

    <?php if ( 0 < $args['count'] ) tribe_get_template_part( 'pro/widgets/mini-calendar/list' ) ?>

    Does this make sense? Let me know if this doesn’t work for you.

    Apologies again!

    – Casey Driscoll

    #169118
    1968rouleur
    Participant

    Yup, I already tried that. Only problem is I am now getting only one event listed, even though I specified 5.

    #169139
    Casey D
    Member

    It seems the widget is working correctly. The tutorial is for tweaking the month widget. You only have one event left in May, so it only shows that event. If you would like to show more, you’ll have to further customize the template (Unfortunately that level of customization goes beyond the scope of the forums) or use the list widget.

    Does this make sense? Let me know if I can explain anything else! 🙂

    Cheers!

    – Casey Driscoll

    #169168
    1968rouleur
    Participant

    Ah, that’s disappointing. I guess that answers my question. Unfortunately that widget won’t suite my needs then.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘REMOVE CALENDAR GRID’ is closed to new replies.