Croogo

A 1-post collection

Creating Plugins for Croogo

Bake a Plugin To bake a plugin for Croogo, go to Croogo’s app folder in terminal and type following command. Let’s create a plugin named Library. $ cd ~/public_html/croogo $ Console/cake bake plugin Library You will be asked to choose a location of the plugin. Select outermost Plugin/ folder. Above command does following things: Creates proper directory structure for new plugin Creates plugin’s AppController.php file (LibraryAppController.php) Creates plugin’s AppModel.php file (LibraryAppModel.php) Adds entry in Config/bootstrap.php

Read more