gplcart / editor

Allows to edit theme template, CSS, JS files rigth in GPL Cart admin area

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Allows to edit theme template, CSS, JS files rigth in GPL Cart admin area

License:GNU General Public License v3.0


Languages

Language:PHP 94.3%Language:JavaScript 5.7%