Home › Forums › Calendar Products › Events Calendar PRO › Hide weekend days
- This topic has 13 replies, 3 voices, and was last updated 11 years, 12 months ago by
Barry.
-
AuthorPosts
-
February 28, 2014 at 3:33 am #110729
Lars
ParticipantHi
We are planning to buy and use the “Filter Bar” but as this display to the left of the calendar the calendar itself will be very narrow. We could bypass this by NOT showing the weekend days as we don’t need to. But how do we hide the “weekend days” ?“Event Espresso” has this on/off option.
February 28, 2014 at 8:50 am #110856Barry
MemberGreat question!
- We don’t have an option along those lines, but you could certainly implement this as a customization – removing the relevant columns via some template overrides (or merely by applying CSS classes that then let you hide them with a little Javascript)
- If you think such an option would be useful please do post a feature request! We’re always looking out for great ideas for future releases
- Do note that the filter bar has options to display in horizontal mode (typically above the calendar) in addition to vertical mode, so that might also provide a solution to the problem as your calendar won’t be nearly so cramped in that configuration
Does that help?
February 28, 2014 at 10:30 am #110900Lars
ParticipantThis reply is private.
March 3, 2014 at 1:54 am #111495Lars
ParticipantI need to be adviced on how to hide Weekend Days as these doesn’t have their own unique class. Where should this be added?
March 3, 2014 at 1:09 pm #111774Barry
MemberSo what you’d need to do – if you were hiding them via CSS is customize the relevant views and add those classes to the elements, then setup your own CSS rules to accommodate this.
Our Themer’s Guide (link over on the right) is a great starting point for this kind of work 🙂
April 16, 2014 at 12:52 pm #134148jan
ParticipantI just bought this and am feeling buyer’s remorse. Tell me one business user who does want to show weekend days on their calendar. I can barely fit more than an event or two without things getting crammed and naturally want to eliminate the days we’ll never use. This great starting point, the themer’s guide, provides no specific help whatsoever. I assume month/loop-grid.php is what i should be modifying but i am not a PHP programmer. Can you be more specific? I and every other biz user would appreciate it.
April 16, 2014 at 1:24 pm #134157Lars
Participant@mostlyweb: I agree with you but unfortunately Modern Tribe hasn’t provided many settings for controlling their plugin for specific needs like: 5 days week (hide weekend days), timeframe, etc.
This is the solution we found ourselves. Find this file:
events-calendar-pro/lib/template-classes/week.php
In line 26: “public static $week_length = 7;” change “7” to “5”.This will get you a 5 day week view but it will take a bit of CSS to correct the look of the calendar afterwards. You’ll need to add this to your stylesheet file:
.tribe-events-grid .tribe-grid-content-wrap .column { width: 20%; }April 16, 2014 at 2:03 pm #134185jan
ParticipantThank you @Lars. Will try that. If i can’t get it working relatively quickly, i will get a refund and start over with one of the others. Another basic requirement is exposing Categories. While i have no problem spending another $65 (so $140 total) for software, just not sure what that $ goes towards if these basic, basic features are not being exposed and worked on.
April 16, 2014 at 2:05 pm #134188Lars
ParticipantWhat do you mean by “exposing Categories” ?
April 16, 2014 at 2:08 pm #134190jan
ParticipantI’m curious Lars, have you found a solution for the Monthly view too or just the weekly one?
April 16, 2014 at 2:11 pm #134192Lars
ParticipantNo, we only use “Week view” so I haven’t customized Month View.
April 16, 2014 at 2:20 pm #134196jan
ParticipantBy exposing, i meant: Filtering and color coding like the Ajax Event Calendar. Example: http://www.onthecuspstophai.org/on-the-cuspstop-cauti/calendar/
The filter bar accomplishes this so that’s ok. https://theeventscalendar.com/shop/wordpress-events-filterbar/April 16, 2014 at 2:23 pm #134197Lars
ParticipantYou’ll need to use this add-on plugin for the category colors:
April 17, 2014 at 7:59 am #135210Barry
MemberI just bought this and am feeling buyer’s remorse. Tell me one business user who does want to show weekend days on their calendar.
We’re definitely listening and you are always welcome to post feature requests.
Another basic requirement is exposing Categories. While i have no problem spending another $65 (so $140 total) for software, just not sure what that $ goes towards if these basic, basic features are not being exposed and worked on.
As Lars highlighted (thanks!) this is possible with a third party plugin – The Events Calendar Category Colors. I do think it’s worth remembering that what you may see as a basic and necessary feature may not be viewed as such by other viewers – who might regard those sorts of embellishments as bloat.
At any rate, hopefully that plugin will get you on track and I’ll go ahead and close this thread – but if you have any further questions or specific concerns please feel free to create new threads as needed and one of the team will be only too happy to help 🙂
-
AuthorPosts
- The topic ‘Hide weekend days’ is closed to new replies.
