dd/evolutioncms-plugins-ddrunsnippets

There is no license information available for the latest version (1.1.2) of this package.

A plugin for (MODX)EvolutionCMS.snippets.ddRunSnippets.

1.1.2 2024-08-02 18:10 UTC

This package is auto-updated.

Last update: 2024-11-04 19:33:08 UTC


README

A plugin for (MODX)EvolutionCMS.snippets.ddRunSnippets.

Requires

Installation

Using (MODX)EvolutionCMS.libraries.ddInstaller

Just run the following PHP code in your sources or Console:

//Include (MODX)EvolutionCMS.libraries.ddInstaller
require_once(
	$modx->getConfig('base_path')
	. 'assets/libs/ddInstaller/require.php'
);

//Install (MODX)EvolutionCMS.plugins.ddRunSnippets
\DDInstaller::install([
	'url' => 'https://github.com/DivanDesign/EvolutionCMS.plugins.ddRunSnippets',
	'type' => 'plugin',
]);
  • If ddRunSnippets is not exist on your site, ddInstaller will just install it.
  • If ddRunSnippets is already exist on your site, ddInstaller will check it version and update it if needed.

Manually

Elements → Plugins: Create a new snippet with the following data

  1. Plugin name: ddRunSnippets.
  2. Description: <b>1.1.2</b> A plugin for (MODX)EvolutionCMS.snippets.ddRunSnippets..
  3. Category: Core.
  4. Parse DocBlock: no.
  5. Plugin code (php): Insert content of the ddRunSnippets_plugin.php file from the archive.
  6. System events:
    1. OnCacheUpdate.
    2. OnDocFormDelete.
    3. OnDocFormSave.

Links