Menu
  • HOME
  • TAGS

Uploading the file using Croogo

cakephp,croogo

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...

how to create model, controller and view files in Croogo cms?

croogo

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.

Croogo - allows users to add a pictures on a blog site

image,user,croogo

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.

How to read session variables from bootstrap.php file

session,cakephp-2.0,croogo

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); ...