instante/cms 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

instante/cms

Composer 安装命令:

composer require instante/cms

包简介

Instante content management system

README 文档

README

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

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-10-04