Inline Editing Nette = Content editable Extension for Nette Framework...
XcoreCMS/InlineNette requires:
- PHP 7.1+
- Nette 2.4+
- FreezyBee/PrependRoute
- XcoreCMS/InlineEditing
The best way to install XcoreCMS/InlineEditingNette is using Composer:
composer require xcore/inline-editing-netteextension:
prependRoute: FreezyBee\PrependRoute\DI\PrependRouteExtension
inline: XcoreCMS\InlineEditingNette\DI\InlineEditingExtension
inline:
translator: @translator # default empty
fallback: en # default false - fallback locale
tableName: inline # default inline_content - table name
persistenceLayer: @doctrine.default.connection # default autodetect (order: doctrine, ndb, dibi), for pdo use PDO('dsn', 'root')
url: '/inline-gw' # default '/inline-editing' - route path mask for communication with backend
allowedRoles: ['admin', 'editor'] # default null
install:
assets: false # default true - install assets to www dir
database: false # default true - create database table
entityMode: true # default false - turn on entity mode editation