Skip to content

johnulist/cakephp-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

265 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cms plugin for CakePHP

Setup

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

Install plugin

composer require qobo/cakephp-cms

Load plugin

bin/cake plugin load Cms

WYSIWYG editor

The plugin's WYSIWYG editor is CKEditor 4.5.8 which is used to create/edit the article content. The following documentation requires some basic knowledge of CKeditor.

CKEditor distribution

We use the full-all distribution which contains all of the plugins of the editor. You can see more details here.

Customized CKEditor

Custom config

With CKeditor, you can load your own configuration file and this is what we do in our plugin. If you would like to load your configuration then override the following value in your application or plugin.

Configure::write('Cms.ckeditor.upload.plugin.url', 'path-to-your-js-file');

Upload plugin

The upload plugin of CKEditor is used so we can enable drag & drop feature in the textarea. If you would like to load your configuration then override the following value in your application or plugin.

Configure::write('Cms.ckeditor.upload.plugin.url', 'path-to-your-js-file');

ToDo

  1. Add documentation for Articles, Categories
  2. PHPUnit tests

About

CakePHP plugin for the CMS functionality

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors