I meant my Location Model, not Controller.
On Sat, May 26, 2012 at 9:22 AM, Michael Gaiser wrote:
> When is says:
>
> 2. Add the following to your model:
>
> public $useDbConfig = 'geoNames';
> public $useTable = false;
>
>
>
> Does that go in my Locations controller or do I make another c
When is says:
2. Add the following to your model:
public $useDbConfig = 'geoNames';
public $useTable = false;
Does that go in my Locations controller or do I make another controller?
If it goes into my Locations Controller, will the line "public
$useTable = false;" keep my model from a
Data source for the GeoNames service:
https://github.com/signified/CakePHP-GeoNames-DataSource
On Thu, May 24, 2012 at 4:00 PM, Justin Edwards
wrote:
> Might have some luck with this one.
>
> http://geocoder.us/help/php_kenny.shtml
> http://geocoder.us/help/php_pear.shtml
>
>
> On Thu, May 24, 2
Might have some luck with this one.
http://geocoder.us/help/php_kenny.shtml
http://geocoder.us/help/php_pear.shtml
On Thu, May 24, 2012 at 12:57 AM, Justin Edwards
wrote:
> https://github.com/dereklio/cakephp_geoip
> https://github.com/neilcrookes/CakePHP-Yahoo-Geo-Planet-Plugin
>
>
> On Wed, M
https://github.com/dereklio/cakephp_geoip
https://github.com/neilcrookes/CakePHP-Yahoo-Geo-Planet-Plugin
On Wed, May 23, 2012 at 1:09 PM, euromark wrote:
> I still use google maps.
> but there the only evolution is going to "not free anymore" - so for high
> traffic sites this might not be the m
I still use google maps.
but there the only evolution is going to "not free anymore" - so for high
traffic sites this might not be the most suitable approach (or it might
again if the money is not the issue).
Am Mittwoch, 23. Mai 2012 19:53:07 UTC+2 schrieb Alex Bovey:
>
> Hi all,
>
> What beha
You may want to try:
http://github.com/mariano/geocode
Includes stuff like: $this->Address->find('near', array('distance' => 5));
AD7six wrote:
>
> On 2 oct, 01:16, Andras Kende wrote:
>
>> Basically just overwrite paginate function, something like:
>>
>> http://book.cakephp.org/view/249/Cus
On 2 oct, 09:17, AD7six wrote:
> On 2 oct, 01:16, Andras Kende wrote:
>
> > Basically just overwrite paginate function, something like:
>
> >http://book.cakephp.org/view/249/Custom-Query-Pagination
>
> Why is that thought to be necessary. paginate and find all have
> slightly different usage b
On 2 oct, 01:16, Andras Kende wrote:
> Basically just overwrite paginate function, something like:
>
> http://book.cakephp.org/view/249/Custom-Query-Pagination
Why is that thought to be necessary. paginate and find all have
slightly different usage but the same paramters.
$params = array( of,
Basically just overwrite paginate function, something like:
http://book.cakephp.org/view/249/Custom-Query-Pagination
On Oct 1, 2009, at 5:37 PM, Kyle Decot wrote:
>
> Thanks. That's exactly what I want but with pagination. I also want to
> order the results by distance. Any idea how to apply
Thanks. That's exactly what I want but with pagination. I also want to
order the results by distance. Any idea how to apply this to
pagination?
On Oct 1, 3:24 pm, Andras Kende wrote:
> Hello,
>
> This works for me ( not paginating )
>
> $points = $this->find('all', array(
> 'order' =
Hello,
This works for me ( not paginating )
$points = $this->find('all', array(
'order' => '
distance ASC,
'fields' => "
Table.*,
(3958 * 3.1415926 * SQRT(({$y2} - {$y}) * ({$y2} - {$y}) + COS
({$y2} / 57.29578) * COS({$y} / 57.29578) * ({$x2} - {$
12 matches
Mail list logo