www.uburst.com www.uburst.com

"Headers & Footers"

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
 
"Headers & Footers"
Posted by Patrick on Mar-01-02 at 12:45 PM (EST)
Did you have any more ideas on how to put a header and footer on the order and credit card pages?

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: Headers & Footers, Bill Weiner, Mar-03-02, (1)
Thank You, Patrick, Mar-04-02, (2)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Headers & Footers"
Posted by Bill Weiner on Mar-03-02 at 09:55 PM (EST)
What sort of header and footer do you want to put on those two pages?

Here are some steps on how add your own custom HTML header and footer to those pages:

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

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

STEP 3: Do a search on the following line:

sub create_order_form

This will get you to the start of the subroutine that outputs the order form HTML.

STEP 4: Locate the following line in that "create_order_form" subroutine:

print " < IMG SRC=\"" . $secure_store_banner . "\" > ";

And immediately BEFORE that line, add a new "print" line with your custom HTML.

STEP 5: Near the end of that "create_order_form" subroutine, locate the following line:

print " < /BODY > < /HTML > ";

And immediately BEFORE that line, add a new "print" line with your custom HTML.

STEP 6: Do a search on the following line:

sub review_order

This will get you to the start of the subroutine that outputs the review form HTML.

STEP 7: Locate the following line in that "review_order" subroutine:

print " < IMG SRC=\"" . $settings[89] . "\" > ";

And immediately BEFORE that line, add a new "print" line with your custom HTML.

STEP 8: Near the end of that "review_order" subroutine, locate the following line:

print " < /BODY > < /HTML > ";

And immediately BEFORE that line, add a new "print" line with your custom HTML.

STEP 9: Do a search on the following line:

sub create_credit_card_form

This will get you to the start of the subroutine that outputs the credit card order form HTML.

STEP 10: Locate the following line in that "create_credit_card_form" subroutine:

print " < IMG SRC=\"" . $secure_store_banner . "\" > ";

And immediately BEFORE that line, add a new "print" line with your custom HTML.

STEP 11: Near the end of that "create_credit_card_form" subroutine, locate the following line:

print " < /BODY > < /HTML > ";

And immediately BEFORE that line, add a new "print" line with your custom HTML.

STEP 12: 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 . "Thank You"
Posted by Patrick on Mar-04-02 at 08:45 PM (EST)
Thanks that just what I needed. Great help and a great product.
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.