www.uburst.com www.uburst.com

"Resource field colors"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

General Questions
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Resource field colors"
Posted by Ed on Apr-06-02 at 11:01 AM (EST)
Hello, Is there a way to change the color of the resource fields:

$resource_field1
$resource_field2
$resource_field3
$resource_field4
$resource_field5
So the text could be red or something. Or Bold the text.

Thanks,

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Resource field colors, Bill Weiner, Apr-06-02, (1)
Great!, Ed, Apr-06-02, (2)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Resource field colors"
Posted by Bill Weiner on Apr-06-02 at 01:22 PM (EST)
When you click on a reservation to see the details of the reservation, the "view_reservation" subroutine is called to display those fields. So you may be able to modify that subroutine to display the fields however you like. Here are some tips:

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

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

STEP 3: Do a search on the following line in order to get to the start of the subroutine that displays the reservation details:

sub view_reservation

STEP 4: About 90 lines into that subroutine, you should see where the HTML starts being printed.

print "Content-type: text/html\n\n";

STEP 5: About 20 lines further you'll see where those fields are printed. You should be able to add whatever addition HTML you want there to change the color and/or bold the font.

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

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "Great!"
Posted by Ed on Apr-06-02 at 04:30 PM (EST)
Thanks again for your quick responces and as always that help alot!

Ed

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.