instante / cms
Instante content management system
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Language:JavaScript
Requires
- php: >=5.5.0
- kdyby/doctrine: @dev
- nette/application: ~2.2
- nette/forms: ~2.2
Requires (Dev)
- jakub-onderka/php-parallel-lint: ~0.6
- nette/bootstrap: ~2.2
- nette/tester: @dev
Suggests
This package is not auto-updated.
Last update: 2020-10-14 16:24:19 UTC
README
WARNING: this component's development is in the beginnings. It is not usable yet for using in real projects.
Tools for creating Nette websites with client-editable content.
Installation
The best way to install Instante CMS is using Composer:
$ composer require instante/cms
-
Register EditorExtension in Nette config: extensions: icns: Instante\CMS\DI\EditorExtension
-
Register route for Editor Api in Nette router $router[] = Instante\CMS\DI\EditorExtension::createRoute();
-
Copy files from assets directory to your project and register instante/icmsEditor to requirejs
-
Setup instante/icmsEditor in presenter $this->jsModulesContainer->useModule('instante/icmsEditor', [ 'saveUrl' => $this->getHttpRequest()->url->getBaseUrl() . "icms-api/save", // url registered in Router and its save action 'autoInit' => TRUE, // or you can call instante/icmsEditor init() manually ]);
-
Link less files to page
-
Load font awesome
- Move pen.png to your www dir and check icms.less due to img path