Pages: [1]
Print
Author Topic: Miles vs Kilometers  (Read 361 times)
rp1428
Pre-Sales
Newbie
*
Posts: 3


« on: May 14, 2011, 06:41:20 PM »

Is there a better way to have Miles show for a region other than modifying locator_model.php and changing the if statement:

if ($region_id == 'us') || ($region_id == 'se') {

I'm concerned about losing these changes in the future.
Logged
rp1428
Pre-Sales
Newbie
*
Posts: 3


« Reply #1 on: May 15, 2011, 07:22:50 AM »

BTW, should be:

if (($region_id == 'us') || ($region_id == 'se')) {

Logged
Support
Administrator
Jr. Member
*****
Posts: 97



« Reply #2 on: May 16, 2011, 01:39:05 PM »

Unfortunately, there is not another method to calculate distances based upon region_id. We understand your concern and will add this to our list of potential design changes in the next revision.
Logged
Pages: [1]
Print
Jump to: