Page 1 of 1

Regionalising CATS google maps lookup

Posted: 03 Jun 2008, 17:21
by RussH
Just a quick tip..

if you find you need to change the google maps lookup to a local google so that it finds your zipcode (or postcode) - just search for google.com and change it;
Code: Select all
find /your_server/cats -type f -name '*' -exec grep -l "google.com" {} \;
shoudl result in you changing the following file;
# cat /your_server/catcats/modules/companies/CompaniesUI.php | grep google.com
$data['googleMaps'] = '<a href="http://maps.google.com/maps?q=' .


...change maps.google.com to your local regional google - i.e. google.co.uk for the UK, google.nl for the netherlands etc etc

Re: Regionalising CATS google maps lookup

Posted: 03 Jun 2008, 19:49
by Jos
eeeeeeeeeeeeeeeehhhh....tnx