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 CommunityCustomizationHacks and Mods (Moderators: scott, DanO, Marty)getScheduleDescription not implemented -- pending events show no schedule
Pages: [1]   Go Down
Print
Author Topic: getScheduleDescription not implemented -- pending events show no schedule  (Read 297 times)
0 Members and 1 Guest are viewing this topic.
mraj
New Member
*

Karma: 0
Offline Offline

Posts: 0

Software Engineer


« on: March 19, 2005, 11:11:00 AM »

It appears that this method was never implemented:

# Get a text description of an event's schedule
# ---------------------------------------------
sub getScheduleDescription {
   my ($schedule) = @_;
   return "";
   }

This function gets called when viewing events that are pending approval.
Since the method is not implmented, when an event is displayed for approval, no schedule displays for the event!
So you don't really know what you're approving.

Anyone have a fix?

[This message has been edited by mraj (edited March 19, 2005).]

Logged

See some of my modifications to CalendarScript at
http://www.prayforoneanother.org/cgi-bin/cal/calendar.pl
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #1 on: March 19, 2005, 01:52:00 PM »

** It appears [getScheduleDescription] was never implemented **

That's correct. Matt commented on it previously and suggested anyone interested in it should feel free to develop it them self.

I think the problem comes down to if you have a recurring event which repeats something like Mondays and Fridays for some period of time, how do you describe it in a meaningful way and which would also fit into the limited amount of display area without overcrowding it?

JMO

Dan O.

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

Logged
mraj
New Member
*

Karma: 0
Offline Offline

Posts: 0

Software Engineer


« Reply #2 on: March 19, 2005, 09:59:00 PM »

Well, IMO, I'd rather see 50 dates listed instead of nothing.

I found an approve.html modification that will list the time and dates of each pending event:

http://www.calendarscript.com/support/forum/Forum4/HTML/000122.html

------------------
See some of my modifications to CalendarScript at
http://www.prayforoneanother.org/cgi-bin/cal/calendar.pl

Logged

See some of my modifications to CalendarScript at
http://www.prayforoneanother.org/cgi-bin/cal/calendar.pl
Pages: [1]   Go Up
Print
Jump to: