Re: REST, Xml::fromArray() and find('all')

2012-08-31 Thread Alexandre Leprêtre
Thanks for your answer. Yes indeed it doesn't behave the way the manual says it should. For now I will use an alternative ;-) Le jeudi 23 août 2012 11:47:02 UTC+1, Alexandre Leprêtre a écrit : > > Hi everyone, > > I am trying to build a nice REST API for my website and I had

REST, Xml::fromArray() and find('all')

2012-08-23 Thread Alexandre Leprêtre
Hi everyone, I am trying to build a nice REST API for my website and I had never tried it through CakePHP. I started to follow the (short) instructions, however, the way it works looks totally different from what I can read in the Cookbook. I use CakePHP 2.2.1. Here's what I've done so far:

Re: Auth Component CakePHP 2.0

2012-02-13 Thread Alexandre Leprêtre
It actually worked with 'fields'. thanks for your help :) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group,

Re: Auth Component CakePHP 2.0

2012-02-13 Thread Alexandre Leprêtre
Hi Ahmed, thanks a lot for your help. My array looks like this now, but it doesn't work better. public $components = array( 'Acl', 'Auth' => array( 'authorize' => array( 'Actions' => array('actionPath'

Auth Component CakePHP 2.0

2012-02-10 Thread Alexandre Leprêtre
Hi everyone, I started to learn CakePHP recently and followed the ACL tutorial step by step, trying to understand every single piece of it. Sadly, I couldn't achieve it correctly since my app doesn't work. Indeed, I can't log in. Every time, it says that my user name or password is incorrect (whil