Home › Forums › Calendar Products › Events Calendar PRO › REMOVE CALENDAR GRID
- This topic has 8 replies, 2 voices, and was last updated 11 years, 11 months ago by
1968rouleur.
-
AuthorPosts
-
May 19, 2014 at 9:21 am #166271
1968rouleur
ParticipantI’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…
May 19, 2014 at 2:59 pm #166650Casey D
MemberHello 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.phpnot
{theme}/tribe-events/pro/views/widgets/mini-calendar-widget.phpDoes this make sense? Let me know if this doesn’t work for you.
Cheers!
– Casey Driscoll
May 19, 2014 at 8:23 pm #1669681968rouleur
ParticipantOkay, moved the file to that location. No change, still seeing the grid view.
May 20, 2014 at 1:38 pm #167969Casey D
MemberHello 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
May 20, 2014 at 5:52 pm #1682041968rouleur
ParticipantOkay, 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.May 21, 2014 at 8:59 am #169095Casey D
MemberSorry 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
May 21, 2014 at 9:20 am #1691181968rouleur
ParticipantYup, I already tried that. Only problem is I am now getting only one event listed, even though I specified 5.
May 21, 2014 at 9:35 am #169139Casey D
MemberIt 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
May 21, 2014 at 9:53 am #1691681968rouleur
ParticipantAh, that’s disappointing. I guess that answers my question. Unfortunately that widget won’t suite my needs then.
-
AuthorPosts
- The topic ‘REMOVE CALENDAR GRID’ is closed to new replies.
