phpScheduleIt
May 24, 2013, 05:47:39 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Changing appointment 2 days ago  (Read 4476 times)
Baico
Newbie
*

Karma: 0
Posts: 5


« on: August 10, 2006, 12:57:19 PM »

I would like to change an appointment of 2 days ago, in what file can I find the php code to change this

thx in advance
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #1 on: August 11, 2006, 12:20:46 AM »

You'll have to change the print_reservation() function in lib/Reservation.class.php.  /templates/schedule.template.php or lib/Schedule.class.php will probably also need to be changed to make the reservation clickable again.
Logged
Baico
Newbie
*

Karma: 0
Posts: 5


« Reply #2 on: August 12, 2006, 08:14:39 AM »

what kind of settings have to changed?
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #3 on: August 14, 2006, 10:17:57 AM »

Reservation.class.php check_startdate() needs to change to validate that the day is within 2 days ago, instead of today.  And reserve.php will need to try to show it as modify instead of view.

This will probably end up being a bigger change.  I can't provide that kind of support, but there may be other users who have hacked up the code who can help.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!