Store Locator - Joomla! Forum - community, help and support
after sitting project 3 days , being first joomla component stuck, honest not sure if question or job, anyways lets see guys say...
i purchased ajax store locator using jquery , google maps... need in joomla component, far have been able display map on front end , have ability search (with geocoding) current location.
but ive had no luck retrieving stores have been stored in database. trying follow mvc structure best can, @ point lost.
heres link http://codecanyon.net/item/ajax-store-locator/73155 brought, need put in right direction, example:
ajax requests go in model , how put " $sql = "select *, ( 6371 * acos( cos( radians(".$_post['lat'].") ) * cos( radians( latitude ) ) * cos( radians( longitude ) - radians(".$_post['lng'].") ) + sin( radians(".$_post['lat'].") ) * sin( radians( latitude ) ) ) ) distance #__branches published=1 having distance <= ".$_post['distance']." order distance";" calculation in..
i no means asking convert joomla component, asking advice.
any apreciated.
i purchased ajax store locator using jquery , google maps... need in joomla component, far have been able display map on front end , have ability search (with geocoding) current location.
but ive had no luck retrieving stores have been stored in database. trying follow mvc structure best can, @ point lost.
heres link http://codecanyon.net/item/ajax-store-locator/73155 brought, need put in right direction, example:
ajax requests go in model , how put " $sql = "select *, ( 6371 * acos( cos( radians(".$_post['lat'].") ) * cos( radians( latitude ) ) * cos( radians( longitude ) - radians(".$_post['lng'].") ) + sin( radians(".$_post['lat'].") ) * sin( radians( latitude ) ) ) ) distance #__branches published=1 having distance <= ".$_post['distance']." order distance";" calculation in..
i no means asking convert joomla component, asking advice.
any apreciated.
Comments
Post a Comment