Solved

Currency change in E-Directory

Posted on 2010-08-16
3
243 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

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 look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

777 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