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
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.
We use the full-all distribution which contains all of the plugins of the editor. You can see more details here.
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');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');- Add documentation for Articles, Categories
- PHPUnit tests