2017 © Pedro Peláez
 

gplcart-module codemirror

image

gplcart/codemirror

  • Saturday, March 10, 2018
  • by gplcart
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Build Status Scrutinizer Code Quality, (*1)

Code Mirror is a GPL Cart module that provides Code Mirror library for other modules. Don't install if your modules don't require it., (*2)

Example of usage in your module - add Code Mirror on every page within admin area, (*3)

/**
 * Implements hook "construct.controller.backend"
 * @param \gplcart\core\controllers\backend\Controller $object
 */
public function hookConstructControllerBackend($object)
{
    if ($this->config->isEnabledModule('codemirror')) {
        /* @var $module \gplcart\modules\codemirror\Codemirror */
        $module = $this->config->getModuleInstance('codemirror');
        $module->addLibrary($object);
    }
}

Installation, (*4)

This module requires 3-d party library which should be downloaded separately. You have to use Composer to download all the dependencies., (*5)

  1. From your web root directory: composer require gplcart/codemirror. If the module was downloaded and placed into system/modules manually, run composer update to make sure that all 3-d party files are presented in the vendor directory.
  2. Go to admin/module/list end enable the module
  3. Adjust settings on admin/module/settings/codemirror

The Versions

10/03 2018

dev-master

9999999-dev

  Sources   Download

GPL-3.0+ GPL-3.0-or-later

The Requires

 

php ecommerce shopping cart code mirror gplcart gplcart module

10/03 2018

dev-dev

dev-dev

  Sources   Download

GPL-3.0-or-later

The Requires

 

php ecommerce shopping cart code mirror gplcart gplcart module