phpScheduleIt
May 19, 2013, 05:28:24 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: Specific Dates Only  (Read 3234 times)
ian
Newbie
*

Karma: 0
Posts: 7


« on: August 03, 2006, 10:47:04 PM »

I'm trying to set up an online schedule for audition sign ups for a theatre company - I've looked at a lot of different possibilities and this is the best one I've found.  My pHp skills are not great however.  I'm trying to set it up so that it only shows a specific date range (i.e. one week in September).  I don't want users to be able to go to different months or even weeks because then I'll have to black them all out.  I'm sure it's probably something easy like modifying the $date variable in the schedule class and template, but I'm not sure what exactly I should do to it.  Any suggestions?
Cheers,
ian
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5403


WWW
« Reply #1 on: August 04, 2006, 11:44:46 AM »

Is the week that's shown sliding?  Meaning, if I'm in the 1st week of July, that's what is available to reserve, if I'm in the 3rd week, I can only reserve in that time period.
Logged
ian
Newbie
*

Karma: 0
Posts: 7


« Reply #2 on: August 04, 2006, 11:48:16 AM »

No, I want it to show only one specific week, regardless of when a user actually logs in.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5403


WWW
« Reply #3 on: August 04, 2006, 12:36:06 PM »

I'd try this:

Before line 314 in lib/Schedule.class.php add (for whatever date you need):

Code:
$dv['month'] = 8;
$dv['day'] = 1;
$dv['year'] = 2006;
Logged
ian
Newbie
*

Karma: 0
Posts: 7


« Reply #4 on: August 06, 2006, 08:44:19 PM »

That doesn't seem to help... I'll keep trying... if you have any other suggestions, they're most welcome.
Logged
ian
Newbie
*

Karma: 0
Posts: 7


« Reply #5 on: August 06, 2006, 11:05:25 PM »

Never mind, that did work... I just managed not to notice...  Thanks!
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!