For cakePHP 1.3
Simple Blog Plugin for CakePHP
-
An installed instance of cakePHP
-
A basic Authentication system
-
A global user variable :
class AppController extends Controller { function beforeFilter() { $this->user['User'] = $this->Auth->user(); } }
- Put the content of this plugin in "app/plugins/" in a folder named "blog".
- Run the following command
cake schema create DbAcl
- Run "database.sql" in the database.
With the default route, accessing the blog : blog/blog_posts/index