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


Login with username, password and session length

Search

 
Advanced search

8019 Posts in 1850 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Date Offset Wrong  (Read 207 times)
0 Members and 1 Guest are viewing this topic.
WACSC
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: September 10, 2003, 01:44:00 PM »

The first day of each month is not offset when it should be. For example, in September, the 1st is a Monday and the Sunday to the left of it should be blank. But on my calendar,  http://wacsc.com/cgi_bin/calendar/calendar.pl , Sunday is the first, all the way through Friday as the 6th, and Saturday is blank. Weeks 2 through 4/5 are fine. It does this on all months requiring an offset for the 1st.

I've tried reverting back to the default templates, problem still exists. (Also, running debug.pl shows that none of my files exist, so I shouldn't see a calendar at all. Odd?) I can see the problem in the generated HTML, but can't conceive of the cause. Here's the funky HTML:

code:
<tr><COLSPAN=3 > </td>

Notice the missing 'TD' preceding the 'COLSPAN' attribute. That's the cause, but what causes it?

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 218

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


WWW
« Reply #1 on: September 10, 2003, 05:01:00 PM »

I don't know how much anyone here is going to be able to help you as it looks like the CalendarScript version you're using is pre 3.0. The current version is 3.2

Maybe the version you're using wasn't programmed to work with the year being 2003? I really don't know though.

Dan O.

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

Logged
WACSC
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: September 17, 2003, 07:30:00 AM »

Well, I just upgraded to 3.2, and the problem is gone.

Still poking around, but it appears to no longer use the same template system, or have I just overlooked that aspect?

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 218

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


WWW
« Reply #3 on: September 17, 2003, 12:29:00 PM »

** it appears to no longer use the same template system, or have I just overlooked that aspect? **

CalendarScript version 3+ does use different templates however Matt has also included ones similar to older versions called "Old Style". You can change the templates the calendar uses in the Template Administration area.

BTW. CalendarScript 3+ is no longer freeware but instead shareware. If you decide to use it, registering it is expected.

JFYI

Dan O.

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

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