yeah,  like a little dot, showing, that there is something scheduled for
that day.

might be an idea.

tw

-----Original Message-----
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 12:17 PM
To: CF-Talk
Subject: Re: days of the month

heh.  dunno.  this was more of an "i'm learning cfscript...I wonder if I can
do this" kind of thing.  has the basic functionality of showing the previous
month's and next month's days (as appropriate), which was one of the things
Daniel was looking for.  I forgot that it doesn't have weekends in a
different color...but that would be easy enough to add using dayOfWeek().

i guess extending it to show scheduled events shouldn't be too difficult.
query the db, loop over the query results for each day, and populate the
cell with the event (if there is one).

one thing I hate about web-based event calendars tho is that when you put
the event itself inside the calendar, the formatting goes to hell.  I think
just some sort of indicator in the cell that there's an event (or events) on
that day...and then a link to show a detailed day view.

Charlie

----- Original Message -----
From: "Tony Weeg" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, May 13, 2004 8:57 AM
Subject: RE: days of the month

> very cool charlie.
>
> now, what about the same thing extended to take events scheduled on dates,
> and show something in the calendar for that, like a planner.
>
> wonder what that would take?
>
> tw
>
> -----Original Message-----
> From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 13, 2004 11:55 AM
> To: CF-Talk
> Subject: Re: days of the month
>
> Daniel:
>
> I did a cfscript calendar that i think addresses all of your concerns.
>
> see http://charlie.griefer.com/code/cfscript_calendar.cfm
>
> hth,
> Charlie
>
> ----- Original Message -----
> From: "Daniel Kessler" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, May 13, 2004 8:06 AM
> Subject: days of the month
>
>
> > I'm writing an event calendar:
> > http://hhp.umd.edu/HHPv1/hhp_index.cfm
> >
> > I need to determine the day numbering.  It would seem that I need the
> > number of days in the month and the DAY that 'day1' begins on (thurs,
> > fri, etc.) so I can fill the predecessors with blanks.  I'll also
> > need to determine this for future/other months.
> > I guess I'll need to determine the DAY for each date too, so I can
> > designate them with a 'weekend' color.
> >
> > Are there possibly general calendar tutorials that would use the same
> > information?
> >
> > Am I missing anything else?
> >
> >
> > thanks.
> >
> > --
> > Daniel Kessler
> >
> > Department of Public and Community Health
> > University of Maryland
> > Suite 2387 Valley Drive
> > College Park, MD  20742-2611
> > 301-405-2545 Phone
> > www.phi.umd.edu
> >
> >
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to