J
|
Jane 8/7/2008 |
Hi, if ($_SESSION["UserID"]=="Guest" || ((strtotime(now())-strtotime($datatmp2["DateField"]." ".$datatmp2["TimeField"]))>=0 && $datatmp2["DayEvent"]!=1 || (strtotime(date("Y-m-d"))-strtotime($datatmp2["DateField"]))>0 && $datatmp2["DayEvent"]==1))
if ($_SESSION["UserID"]=="Guest") |
S
|
Stoneman 1/6/2009 |
Hi, in general you don't need to edit events in the past. To remove this limitation edit BeforeShowList events for monthly and weekly views, List page: After record processed event for daily view. For example find this code: and replace it with this one: |
S
|
Stoneman 1/6/2009 |
I have made these changes and still can't edit events from the past. Making this change didn't change anything in the monthly or daily views. The weekly view looks like it is editable but when you try to save the changes I get a Java script error "Error Date or Time" from the server. |
J
|
Jane 1/20/2009 |
It's difficult to tell you what's happening without seeing actual files. |