You have to set the form as a file upload form. Change this: echo $this->Form->create('Job'); To this echo $this->Form->create('Job', array('type'=>'file'); That should be all you need to do. -- EDIT FOLLOWING COMMENTS -- QUESTION PART TWO -- You need to change this line: echo $this->Form->create('Post'); To: echo $this->Form->create('Node'); Cake will...
I have created it in the nodes folder. As this is the first time I am using this I struggled with it. I have created the view files and the controller files in the respective view and controller folder in the nodes folder.
Better try to create it in the Vendor/croogo/croogo/Nodes path in the respective controller and view folder. You can start from here. Hope this will help you.
rather than do all the initialisation overhead, I would here (and just here in bootstrap.php) resort to a basic php stuff: session_start(); debug($_SESSION); ...