View Full Version : Invoice Address
Steve Raven
16-Dec-2003, 10:11 AM
We have a problem with our account customers invoice and delivery addresses in the order processing section - the box that has the addresses in is displayed with a black background and black text making the addresses unreadable.
What has happened and what do I need to do to stop this happening.
I have noticed this does not occur for surfers using an iMac! but on Windows based surfers it does.
TraceyG
16-Dec-2003, 02:24 PM
Hi Steve,
Take a look at this thread (http://community.actinic.com/showthread.php?s=&threadid=3602)
Steve Raven
16-Dec-2003, 02:27 PM
Hi Tracey
The thread you suggested is in the developers forum - which I don't have access to. Could you give me some edited highlights
Steve
TraceyG
16-Dec-2003, 02:51 PM
Sorry Steve, here is the answer:
This is probably to do with the perl version on the server and the way it parses the data. Try the following:
Open 'Act_Order01.html' in a text editor and search for:
<Actinic:VAR NAME=ADDRESS_TABLE VALUE="
%s
<TABLE WIDTH=98% BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR=%s><TR><TD>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=4 BGCOLOR=%s>
%s
</TABLE>
</TD></TR></TABLE>
%s
"/>
The included HTML code has two bare % as TABLE WIDTH parameter. These bare
% signs make fool the sprintf function of this perl implementation when
this string is used as the first parameter of sprintf.
Just duplicate these bare % signs. E.g.
<Actinic:VAR NAME=ADDRESS_TABLE VALUE="
%s
<TABLE WIDTH=98%% BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR=%s><TR><TD>
<TABLE WIDTH=100%% BORDER=0 CELLSPACING=0 CELLPADDING=4 BGCOLOR=%s>
%s
</TABLE>
</TD></TR></TABLE>
%s
"/>
(The changes are underlined).
I hope this helps.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.