Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityMaking CalendarScript BetterSuggestions and Ideas (Moderators: scott, DanO, Marty)Limiting days displayed in calendar grid
Pages: [1]   Go Down
Print
Author Topic: Limiting days displayed in calendar grid  (Read 388 times)
0 Members and 1 Guest are viewing this topic.
eladyar
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: January 01, 2003, 03:27:00 PM »

In the following thread:
http://www.calendarscript.com/support/forum/Forum4/HTML/000342.html

there is discussion of showing only weekdays in the calendar. The solution in the last message works to limit the number of days shown, but requires that the calendar.pl file be edited. This effects all of the calendars created with CalendarScript.

I have used this method to eliminate Sundays on the calendar at Gavit Sports (http://www.gavitsports.org).

My suggestion is to include this in the calendar settings in the next version of CalendarScript. On the settings page where you set the start day of the week the number of days displayed could also be set. This way you could define each calendar on your site separately.

Gavit Sports uses CalendarScript to provide schedules for high school sports in an easy to view format. Eliminating Sundays from the display makes the remaining columns easier to read. I can see where a business that is only open Monday thru Friday or Monday thru Saturday could use the same functionality.

Thanks

Logged

DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: October 11, 2003, 06:40:00 PM »

** The solution in the last message works to limit the number of days shown, but requires that the calendar.pl file be edited. This effects all of the calendars created with CalendarScript. **

When editing, you could make the changes conditional on the calendar being viewed as the variable $Calendar->{'key'} should contain the value of current calendar which could be used in a comparison.

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: