devshb
Senior Member
United Kingdom
1904 Posts |
Posted - October 14 2007 : 19:01:45
|
(d'oh; the nbsp is getting blanked out by the forum html, where you see [SPACE] below, replace that with: ampersand sign followed by nbsp plus a semi-colon directly after ie the html non-breaking-space tag/code )
you also need it to be a non-breaking space rather than a normal space, otherwise sometimes it'll spill over to a separate line between the symbol and the amount.
try this...
edit shopproductsubs2.asp
and in this function: Function ShopFormatCurrency
change this: if GetSess("Newcurrencysymbol")<>"" then shopformatcurrency=GetSess("Newcurrencysymbol") & formatNumber (tamount, decimalpoint) elseif getconfig("XCurrencySymbol") <> "" then shopformatcurrency=getconfig("XCurrencySymbol") & formatNumber (tamount, decimalpoint) else shopformatcurrency="$" & formatNumber (tamount, decimalpoint) end if
to this: if GetSess("Newcurrencysymbol")<>"" then shopformatcurrency=GetSess("Newcurrencysymbol") &"[SPACE]"& formatNumber (tamount, decimalpoint) elseif getconfig("XCurrencySymbol") <> "" then shopformatcurrency=getconfig("XCurrencySymbol") & "[SPACE]"& formatNumber (tamount, decimalpoint) else shopformatcurrency="$" & "[SPACE]"& formatNumber (tamount, decimalpoint) end if
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
Edited by - devshb on October 14 2007 19:06:13 |
|
|