gplcart/editor

Edit theme template, CSS, JS files rigth in admin area

Installs: 3

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 2

Open Issues: 0

Type:gplcart-module

dev-master 2018-03-09 14:28 UTC

This package is not auto-updated.

Last update: 2024-12-21 21:25:56 UTC


README

Build Status Scrutinizer Code Quality

Theme Editor is a GPL Cart module that allows users with appropriate permissions to edit theme template, CSS and JS files right from UI.

Features:

  • Can edit templates, CSS and JS files
  • Validates PHP templates before saving (shell_exec() must be allowed)
  • Automatically makes a backup zip
  • Access control
  • Supports Code Mirror

Installation

  1. Download and extract to system/modules manually or using composer composer require gplcart/editor. IMPORTANT: If you downloaded the module manually, be sure that the name of extracted module folder doesn't contain a branch/version suffix, e.g -master. Rename if needed.
  2. Go to admin/module/list end enable the module
  3. Go to admin/user/role and grant module permissions to the selected role. Be careful about Theme editor: edit file (key editor_edit) - it allows users to save edited files

Usage:

  • Start from admin/tool/editor