datetime form helper.. need to display only AM/PM instead of hours and minutes

2014-08-24 Thread FandaR
Hello, We have about 15 datetime fields in our CakePHP project.. now my client wants to change the dropdowns withou hours and minutes with just one dropdown which would allow to select only AM/PM values without hours and minutes.. what would be the best way and easiest way to replace it in all

Re: datetime form helper.. need to display only AM/PM instead of hours and minutes

2014-08-24 Thread FandaR
I have solved it already by just hidding the Hours and Minutes fields with CSS and set the date format into 12hrs. Thank You On Sunday, 24 August 2014 17:16:31 UTC+2, FandaR wrote: Hello, We have about 15 datetime fields in our CakePHP project.. now my client wants to change the dropdowns

CakePHP 3.0 orm query question

2014-08-24 Thread Andras Kende
Hello, Im trying to convert this geolocator query from 2.5 to 3.0 orm but no luck so far. CakePHP 2.5, this works fine: $results = $this-find('all', array( 'limit' = 200, 'order' = array( 'distance' = 'ASC', 'name' = 'ASC', ),

Re: CakePHP 3.0.0-beta1 released

2014-08-24 Thread Dr. Tarique Sani
Great! Now that we are beta can we presume there will be no more directory changes and no more function signature changes? In other words can we start building stuff now? Cheers Tarique On Sat, Aug 23, 2014 at 3:26 PM, José Lorenzo jose@gmail.com wrote: The CakePHP core team is excited to