Solved

Currency change in E-Directory

Posted on 2010-08-16
3
244 Views
Last Modified: 2013-12-13
Hey all.
I have a client using the E-Directory software.
The software uses a mysql databse.

What my client needs is the American elements putting to British so $ to £ etc.
In the root directory there's a folder called lang where I found en_us.php and en_us_sitemgr.php . In them files I found $0.00 and changed to £0.00 and zipcode to postcode. When I uploaded the files it broke the site so throughout the site it said "%%LNG_listing%%" for each button title etc.

I'm guessing this means the parts I've changed are referenced somewhere else as well.

I have attached the original files I've mentioned above.

If someone could give me a hand in fixing this I would be very grateful.

Thanks in advance.


en-us.php
en-us-sitemgr.php
0
Comment
Question by:Kevin2010
3 Comments
 
LVL 14

Accepted Solution

by:
Kalpan earned 250 total points
ID: 33443895
Please change the following line with conf/payment.inc.php

define(PAYMENT_CURRENCY, "USD");
define( CURRENCY_SYMBOL, "$ ");

also regarding to your errors please change the typo

%%LNG_listing%%, it should be LANG_listing or LANG_LISTING where you may find issue

thanks



0
 

Author Closing Comment

by:Kevin2010
ID: 33443977
Quick response. Excellant.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question