PDA

View Full Version : Cart Error Prompt


nats
29-Mar-2004, 01:33 PM
I would like to format the error box that comes up at the cart stage of the procedure. If a compulsory field is not completed then a box comes up at the top of the screen which displays what needs to be done. This box has a line underneath that I want to change the colour of. I have tried to find the template it refers to but no luck...

Can anyone help?

Regards

Nats

cdicken
30-Mar-2004, 08:28 AM
The code for that error box comes from a perl file called 'Actinic.pm' within your Site1 folder.

Open this file in Notepad and then search for '<table'. You will jump to the following lines...

$sError = "<TABLE CELLPADDING=\"10\" WIDTH=\"550\" BORDER=\"1\" BGCOLOR=\"$$::g_pSetupBlob{FORM_BACKGROUND_COLOR}\">" .
"<TR><TD><BIG> $sError</BIG></TD></TR></TABLE><P><HR>"; You can carefully edit the recognisable bits e.g. change

BORDER=\"1\"

to

BORDER=\"0\"

The horizontal line comes from the <HR> at the bottom.