installation (readme file)

Project: 
uc_multicurrency
Category: 
task
Version: 
Ubercart 1.3
Priority: 
normal
Assigned: 
Unassigned
Status: 
active

Hi

in the readme file is wrote:

edit
sites/all/modules/ubercart/uc_store/uc_store.module and rename the
uc_currency_format() function -

a doubt of mine is that I found this text

uc_currency_format

in many parts of the file uc_store.module (version 1.3)
precisely at line
776 - 789 - 1340 - 1468 - 1746 - 1855

Have I change all the values? Or else only in one or some lines?

thanks by now
fab

AttachmentSize
uc_store.module.txt96.51 KB

Re: installation (readme file)

Edit the line that says:

function uc_currency_format($value, $sign = TRUE, $thou = TRUE, $dec = NULL) {

and change it to something like:
function uc_currency_format_original($value, $sign = TRUE, $thou = TRUE, $dec = NULL) {

Re: Re: installation (readme file)

firs of all: tanks for answer
I did like you said.
I follow the instructions of readme file:
I went to enable modules (corrency API and multicirrency) but first I canged the line you showed.
First attempt: white screen of death
Second attempt: modules were not enabled I enabled them again, it seems went ok but give me this error on top:

user warning: Table 'drupal_it_uc_order_currency' already exists query: CREATE TABLE drupal_it_uc_order_currency ( order_id mediumint(9) NOT NULL, store_currency varchar(3) NOT NULL, sale_currency varchar(3) NOT NULL, conversion_factor float NOT NULL, conversion_multiplier float NOT NULL, rounding tinyint NOT NULL, rounding_decimal tinyint NOT NULL, PRIMARY KEY (order_id) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /hsphere/local/home/procopix/kimere.it/drupal-5.10/includes/database.mysql.inc on line 172.

I noted that in modules list for the module multicurrency instead of the version number there is this; $Name$

some help?

Re: Re: Re: installation (readme file)

That error is just because you ran the install() twice - the error won't affect the operation of the module.