qobo / cakephp-cms
Cms plugin for CakePHP
Installs: 22 653
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 19
Forks: 2
Open Issues: 4
Language:JavaScript
Type:cakephp-plugin
Requires
- burzum/cakephp-file-storage: ^2.0
- burzum/cakephp-imagine-plugin: ^2.0
- cakephp/cakephp: ^3.8
- hashmode/cakephp-tinymce-elfinder: ^1.0
- muffin/slug: ^1.0
- muffin/trash: ^2.1
Requires (Dev)
- qobo/cakephp-composer-dev: ^v1.0
- dev-master
- v12.4.1
- v12.4.0
- v12.3.2
- v12.3.1
- v12.3.0
- v12.2.0
- v12.1.3
- v12.1.2
- v12.1.1
- v12.1.0
- v12.0.0
- v11.0.0
- v10.3.0
- v10.2.0
- v10.1.0
- v10.0.2
- v10.0.1
- v10.0.0
- v9.2.4
- v9.2.3
- v9.2.2
- v9.2.1
- v9.2.0-patch2
- v9.2.0-patch1
- v9.2.0
- v9.1.1
- v9.1.0
- v9.0.0
- v8.0.0
- v7.0.6
- v7.0.5
- v7.0.4
- v7.0.3
- v7.0.2
- v7.0.1
- v7.0.0
- v6.7.1
- v6.7.0
- v6.6.0
- v6.5.1
- v6.5.0
- v6.4.1
- v6.4.0
- v6.3.1
- v6.3.0
- v6.2.5
- v6.2.4
- v6.2.3
- v6.2.2
- v6.2.1
- v6.2.0
- v6.1.1
- v6.1.0
- v6.0.0
- v5.3.2
- v5.3.1
- v5.3.0
- v5.2.3
- v5.2.2
- v5.2.1
- v5.2.0
- v5.1.0
- v5.0.2
- v5.0.1
- v5.0.0
- v4.1.0
- v4.0.0
- v3.0.0
- v2.0.0
- v1.4.0
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-v9.2.0-patch1
- dev-pagination
- dev-dependabot/add-v2-config-file
- dev-fix-migrations
- dev-dependabot/composer/burzum/cakephp-imagine-plugin-tw-3.0
- dev-patch-2
This package is auto-updated.
Last update: 2022-02-07 08:59:10 UTC
README
About
Content management plugin for CakePHP 3+.
This plugin is developed by Qobo for Qobrix. It can be used as standalone CakePHP plugin, or as part of the project-template-cakephp installation.
Requirements
Plugins:
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 required plugins
bin/cake plugin load Qobo/Utils --bootstrap
bin/cake plugin load Muffin/Trash
bin/cake plugin load Muffin/Slug
bin/cake plugin load Burzum/FileStorage
bin/cake plugin load CakephpTinymceElfinder --routes
Load plugin
bin/cake plugin load Cms --routes --bootstrap
Run migrations
bin/cake migrations migrate -p Burzum/FileStorage
bin/cake migrations migrate -p Cms
Configure AdminLTE theme as per the instructions in Qobo/Utils plugin.
Load CakePHP TinyMCE elFinder helper from initialize()
method of src/View/AppView.php
:
public function initialize() { $this->loadHelper('Form', ['className' => 'AdminLTE.Form']); $this->loadHelper('CakephpTinymceElfinder.TinymceElfinder'); }
To load site management UI component add below lines to your application's bootstrap file.
// config/bootstrap.php use Cake\Event\EventManager; use Cms\Event\View\SitesManageListener; EventManager::instance()->on(new SitesManageListener());
Note, that some of the plugin functionality relies on user authentication being implemented. You can either follow the instructions here or update the references to the Auth component in relevant controllers, models, and template.
Once all is done, navigate to /cms/sites/
to get started with the content management.
WYSIWYG editor
The plugin's WYSIWYG editor is tinyMCE 4.* which is used to create/edit the article content.
Documentation
For documentation see the docs directory of this repository.