uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
Headers & Footers

Knowledge Base Lobby : uStorekeeper Support Conference : General Questions
Dec-12-17 08:49 PM EST
Original Message
Headers & Footers
Author Patrick on 03-01-2002 at 12:45 (EST)
Did you have any more ideas on how to put a header and footer on the order and credit card pages?

Thanks
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Headers & Footers Bill Weiner, 2002-03-03 21:55:58 (1)
            Thank You Patrick, 2002-03-04 20:45:51 (2)

Messages In This Discussion
         1. RE: Headers & Footers
        Author Bill Weiner on 03-03-2002 at 21:55 (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!
TABLE OF CONTENTS
                 2. Thank You
                Author Patrick on 03-04-2002 at 20:45 (EST)
Thanks that just what I needed. Great help and a great product.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.