URL: http://www.uburst.com/cgi-bin/dcforum/dcboard.cgi
Forum: uReserve_general
Thread Number: 13
[ Go back to previous page ]

Original Message
"Customize "

Posted by Ed [edch@qwest.net] on at 08:15 PM
Where can I edit so I can put some instructions on the scheduler like you guys have.

Demo Instructions

Red indicates that the resource has been reserved for that time frame.

You can reserve a resource yourself by clicking on the resource's name on the desired day.

You can see who has a resource reserved by clicking on the R symbols on that day.

Use the navigation buttons at the bottom to view the resource schedule of a different week.

And can I put a link in that section?

Thanks



Table of contents

Messages in this discussion
"RE: Customize"
Posted by Bill Weiner on at 10:24 PM
Here are some instructions on how to modify the script to add instructions (or any HTML) at the top of the schedule pages:

STEP 1: Make a backup of your current ureserve.pl script... just in case.

STEP 2: Open you ureserve.pl script with any text editor such as WordPad.

STEP 3: Do a search on the following line:

sub display_week_graphical

(This will get you to the start of the subroutine that outputs the schedule HTML.)

STEP 4: Do another search on the following text:

print "BGCOLOR=

This is start of the HTML < BODY >

STEP 5: Immediately AFTER that line, you can add additional "print" statements to output your custom instructions/HTML.

STEP 6: Save the script... as TEXT if your editor asks.. and try it out!

NOTE: When adding any print lines, remember that you will have to "escape" any special characters ... such as double-quotes (") ... by putting a backslash (\) in front of the special character. For example, if you wanted to add this HTML:

< A HREF="http://www.yourdomain.com" > My Website < /A >

Then you would add a print line like this ... with the double-quotes escaped with backslashes....

print "< A HREF=\"http://www.yourdomain.com\" > My Website < /A >";


"customize"
Posted by Ed [edch@qwest.net] on at 02:16 AM
Thank you very much for the quick response, that worked great!