public
Description: A Content Management System plugin for CakePHP.
Homepage: http://fabio.kreusch.com.br/2009/01/29/cakephp-cms-plugin-english/
Clone URL: git://github.com/fabiokr/cakephp-cms-plugin.git
name age message
file .gitignore Wed Jan 14 15:37:38 -0800 2009 Starting CMS plugin [fabiokr]
file cms_app_controller.php Thu Jan 29 09:20:18 -0800 2009 Added License [fabiokr]
file cms_app_helper.php Thu Jan 29 09:20:18 -0800 2009 Added License [fabiokr]
file cms_app_model.php Thu Jan 29 09:20:18 -0800 2009 Added License [fabiokr]
directory controllers/ Thu Feb 05 14:50:31 -0800 2009 Changes getTitle behaviour [fabiokr]
directory models/ Mon Feb 02 12:44:33 -0800 2009 Added Cms.Category [fabiokr]
file readme.txt Sun Sep 20 10:58:11 -0700 2009 Updated readme [fabiokr]
file tables.sql Wed Feb 04 15:08:19 -0800 2009 Added semicolons to sql [fabiokr]
directory tests/ Thu Feb 05 14:50:31 -0800 2009 Changes getTitle behaviour [fabiokr]
directory views/ Thu Feb 05 15:03:27 -0800 2009 Added admin_pagination.ctp [fabiokr]
readme.txt
Github repository:
http://github.com/Pagebakers/pagebakery.org-cms

We were developing a website where we reached the static pages part. For this, a simples CMS would be a good thing 
(dinamic pages management where you don't need to create the htmls, upload manually...). The website is developed with 
CakePHP, so I started to search a plugin to help me with the task.

I have found some solutions, like Wildflower and Pagebakery. Wildflower is a simples CMS, but visually beautiful and 
with goos tools, but it is a complete CakePHP application, and that means that to use it, your system would have to fit 
into it. Wildflower is in a moving process to become a plugin, a I am sure it will become a great alternative.

Paebakery, by the time I downloaded it (january) was a whole application constructed with CakePHP, so you could get it 
and start your website continuing it. We then used Pagebakery as a starting point, but by that time it's CMS was very 
poor.

So, I started a simples CMS tool for CakePHP as a plugin.

At the moment, the plugin haves a page creation tool, so you can access your pages with a slug, and then you can use 
something like www.yoursite.com/cms/pages/your-page-slug to access your page. Off course you can create a route for it 
into your application's routes.php to make it more friendly. Also, it haves a simples posts tools, so you can use it as 
a news repository, and a tool for uploading files.

To use it, you have to download it here, and put the content into /app/plugins/cms.
The plugin uses the Sluggable Behaviour, so you have to download it too and put it into your /app/models/behaviours. Use 
the tables.sql script to generate the tables and you're done!

The plugin doesn't comes with a html editor, so you can use anyone you like most. In our project, we have used TinyMCE. 
With it you can define that all TextAreas with a specific css class will be replaced by the html editor. To makethe 
process easier, the plugin already create the TextAreas with the class 'htmlEditor'.

If you use it, you are welcome to do any changes, and if you want you are also welcome to post any bugs or suggestions!

The AuthComponent from CakePHP must be enabled to use the plugin.
The admin routes should also be enabled.
And for the uploads module, a 'upload' folder should be created under webroot with write permissions.

Requires:
Sluggable-Behaviour http://cake-syrup.sourceforge.net/ingredients/sluggable-behavior/