Re: Use function in controller AND view

2014-12-23 Thread LDSign
Just one question in addition. The cookbook says If you need NumberHelper http://book.cakephp.org/2.0/en/core-libraries/helpers/number.html#NumberHelper functionalities outside of a View, use the CakeNumber class: Whats the point using CakeNumber:: inside of views instead of $this-Number? Is

Re: Use function in controller AND view

2014-12-23 Thread euromark
Yeah it says *outside*. Inside the view layer you don't use CakeNumber, you use the helper Number: $this-Number-...() which, of course, internally wraps the CakeNumber functionality. Am Dienstag, 23. Dezember 2014 13:05:12 UTC+1 schrieb LDSign: Just one question in addition. The cookbook

Re: CakePHP 2.0 authentication(login) without ctp files but other types

2014-12-23 Thread Joe T.
Is that the actual data in `users`, or just simplified for example? Just want to clarify. Manually adding records won't work in this case. Auth automatically encrypts the submitted password compares it to the database value. If you enter '123' as the password, it's not going to match '123' in

Re: cant send email from localhost

2014-12-23 Thread McScreech
I have found that firewall and/or virus scanner settings will prevent mailing from localhost. Since I am working in a corporate intranet environment, I have no access to any of the configuration settings needed to compensate - so, I simply CANNOT use such functionality. In my case, I have smtp

CakePHP 2.5.8 Released

2014-12-23 Thread mark_story
The CakePHP core team is proud to announce the immediate availability of CakePHP 2.5.8. 2.5.8 is a bugfix release for the 2.5 release branch. A short list of the changes you can expect is: * Improved error messages when fixtures are missing fields. * Human is now properly pluralized by

CakePHP 2.6.0 released

2014-12-23 Thread mark_story
The CakePHP core team is proud to announce the immediate availability of CakePHP 2.6.0. There have been a few changes to 2.6.0 since the RC1 release: * AuthComponent now fires the `Auth.afterIdentify` event after users are logged in. * HtmlHelper::script() and HtmlHelper::css() no longer share

Is there any proper guide to move cakephp from server to another.

2014-12-23 Thread Bhargav Mehta
Hi, I am new to cakephp and want to move my site from one server to another. How can this be done? I have browse through many links but not getting what they have said. So is there any documentation or any proper guide to move my cake php site from one server to another? Thanks -- Like Us on

Re: Is there any proper guide to move cakephp from server to another.

2014-12-23 Thread John Andersen
What version of CakePHP do you have on the server? What kind of database, if any, are your site using? Enjoy, John On Tuesday, 23 December 2014 16:56:55 UTC+2, Bhargav Mehta wrote: Hi, I am new to cakephp and want to move my site from one server to another. How can this be done? I have