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 CommunityCustomizationCustomizing CalendarScript (Moderators: scott, DanO, Marty)Shrinking date ranges in view mode possible?
Pages: [1]   Go Down
Print
Author Topic: Shrinking date ranges in view mode possible?  (Read 302 times)
0 Members and 1 Guest are viewing this topic.
snoweast
Guest
« on: February 23, 2004, 07:43:00 PM »

Hello,

For my school we never have any events before 7 a.m. I would love to be able to restrict hours (say 12 a.m.~7 a.m.) from showing up in Day view mode so that the day view looks cleaner. Is that possible? Will it be in the future?

Thank you for your help

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: February 24, 2004, 01:55:00 PM »

If you click the "List" link when viewing a day's events, you'll see that only the events are shown and not each and every hour of the day. If you don't mind that being the default display for "Day View" you can easily edit the default.html template to only display that way when displaying a day's events.

To make that modification find the line in the default.html template file which is:

<%-- DAY VIEW --%>

2 lines later you'll find

<% if ($STYLE eq "Grid") { %>

If you change that line to

<% if (0) { %>

(that's a zero BTW) 'Day View' will always display in 'List' format.

Dan O.

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

Logged
snoweast
Guest
« Reply #2 on: February 24, 2004, 08:19:00 PM »

Thanks DanO. That will do the trick.
Logged
Pages: [1]   Go Up
Print
Jump to: