Re: Avoid converting date/datetime fields to Cake/Time instances with CakePHP 3

2015-10-23 Thread glk
@JoseLorenzo The reason is that the cake $this->Form->input('date_field') always generates 3 input fields. If the input uses type=text, the field is populated with mm/dd/, hh:mm:ss And all we should have is mm/dd/... of course it should also be LOCALE format. -- Like Us on FaceBook

Re: Cakephp Inline Editing

2015-10-23 Thread John Andersen
In your code you are already using $stop as an array: $this->set('stop',$stop['Leave']['event_stop_time']); so when you try to calculate the $hours, then you have an array - a value :) Try and fix that! Enjoy, John On Friday, 23 October 2015 12:43:47 UTC+3, Para K wrote: > > I'm working

Re: loading plugin in cake 1.3 bootstrap

2015-10-23 Thread Dario Savella
Never mind. Just in case someone is not daring enough to try, it is done in the same way by adding: public $components = array( 'DebugKit.Toolbar' ); to AppController or the specific one where it is needed. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twit

Re: loading plugin in cake 1.3 bootstrap

2015-10-23 Thread Dario Savella
I realize this is ancient history, but I cannot find in the docs/books how to enable DebugKit in CakePHP 1.3. (I am doing support on an old app that seems to have been stripped of all the "unused" files). GitHub docs for DebugKit refer to lighthouse.com, but there does not seem to be anything

Pagination Url Problem

2015-10-23 Thread Rana Irfan Sabir
Hello everyone! i am new to cakephp, i have an issue in pagination urls, First page link is not correct other page urls are perfect. Please help. First page url is links to the current page url. its really awesome. https://www.savnpik.com/abu-dhabi-deals/autos/3 check here -- Like Us on Face

Cakephp Inline Editing

2015-10-23 Thread Para K
I'm working on a project for Payroll Dept. I have included inline editing feature in my code. When the user edits start date, the program should calculate and update the hours field by subtracting the stop date from start date. I'm stuck on the calculation part giving an error "Unsupported Ope

Load flash in my component

2015-10-23 Thread Leandro Freire da Silva
Hi group ? How to load component flash on my component ? *Error: *Call to a member function success() on null *File* /var/www/uniaoestudantil/src/Controller/Component/ComprovanteuploadComponent.php *Line: *16 -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://