Is their a way to add a header and footer to the log in screens for a user checking their affiliate status? Also how can I change the default table color from light grey to red?
To customize that "Affiliate Login" screen, you would have to modify the "create_affiliate_login" subroutine in the ushop-lib.pl script. Here are some tips on how:
STEP 1: Make a backup of your current "ushop-lib.pl" script... just in case.
STEP 2: Open your ushop-lib.pl script with any text editor such as WordPad.
STEP 3: Do a seach on the following line:
This will get you to the start of the subroutine that displays the affiliate login form. You should be able to recognize the HTML in that subroutine... so you can modify it as desired.
STEP 4: After making the modifications, save the script... as TEXT if your editor asks... and try it out!
Is their a one line quick way of inserting a header and footer that you know of.
I don't know what type of "header" and "footer" you want to put on that form, but as an example, if you want to add an image, then you might add this line:
print " < IMG SRC=\"http://www.mydomain.com/myimage.gif\" > ";
Directly after the BODY line:
print " < BODY BGCOLOR=\"#FFFFFF\" > ";
And as for changing the color of the login box from gray to red... then in that subroutine, you would just change the color:
to something like