Skip to content

instante/cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instante CMS

Build Status Downloads this Month Latest stable

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
  1. Register EditorExtension in Nette config: extensions: icns: Instante\CMS\DI\EditorExtension

  2. Register route for Editor Api in Nette router $router[] = Instante\CMS\DI\EditorExtension::createRoute();

  3. Copy files from assets directory to your project and register instante/icmsEditor to requirejs

  4. 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 ]);

  5. Link less files to page

  6. Load font awesome

  1. Move pen.png to your www dir and check icms.less due to img path

About

Developer-first Content-management system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published