Re: Using JQuery UI Datepicker for formatted date fields (dd/mm/yy)

2014-05-08 Thread dario gaston musante
I´ve solved this type of issues with a hidden field having the value in sql format (-MM-DD ) and formatting the date for user with php in the text field. ( http://php.net/manual/en/function.date.php ) jquery can set 2 fields with the diferents formats. ( http://jqueryui.com/datepicker/#alt-

Re: Default pagination.

2014-05-08 Thread dario gaston musante
Hi! try with $this->set('tutorials', $this->paginate('Tutorial')); El miércoles, 7 de mayo de 2014 15:43:41 UTC-3, Alimon Pito escribió: > > I am using cakephp Pagination Component,it's working fine,Now I want to > apply it in all controller.I have tried this code,but this is not working >

Re: CakePHP 2.4.6 Paginator

2014-05-08 Thread dario gaston musante
Why are you doing a find and then a paginate ? I think you should set conditions to paginator El jueves, 8 de mayo de 2014 09:29:19 UTC-3, Саша Кузьменко escribió: > > my view $this->Paginator->params() show data: > > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > 10 > 11 > 12 > 13 > 14 > 15 > 16 > 17 > 18

Re: cannot post data using ajax

2012-07-10 Thread dario gaston musante
try with a var_dump( $this->request->data ); or a debug($this->request->data); El martes, 10 de julio de 2012 19:09:03 UTC-3, Gideon escribió: > > Hi all, I am trying to send ajax data to an autocomplete action > /researchers/autocomplete.json. I have set data[query]=daniel but still I > get nu

Re: cake IDE

2011-04-14 Thread dario gaston musante
You can use Komodo, but netbeans it's the best option just search in google how to use it Helpers autoComplete. just put a dummy.php file on your views root folder. Inside of each view You can create a view template with as content to avoid, write this each time Components In app_controll

Re: Relative URL redirect

2011-02-16 Thread dario gaston musante
do you try with define('FULL_BASE_URL','http://' . $_SERVER['SERVER_NAME']); ? or a condition if ( $_SERVER['SERVER_NAME'] == 'bla' ) { define('FULL_BASE_URL','http://www.myexternaldomain.com'); } elseif ( $_SERVER['SERVER_NAME'] == 'blalocal' ) { define('FULL_BASE_URL','http://localhos

Re: Big problem with using Model 1.3

2011-02-16 Thread dario gaston musante
file names ? On 17 feb, 00:42, "damia...@gmail.com" wrote: > I change names but my problem don't solved. > > Undefined property: GroupsController::$Group [APP/controllers/ > groups_controller.php, line 30] > > On 17 Lut, 03:51, "Krissy Masters" wrote: > > > > > > > > > Names are backwards. > > >

Re: confused! need urgent help.

2011-02-05 Thread dario gaston musante
give us more Data... var_dump $city ... On 4 feb, 02:37, andy_the ultimate baker wrote: > hi, > good morning, > > since i morning i am working on one index view where i want to display > the country. ithe the view i m getting sate and city with its > respective code properly, but the country is