dd / evolutioncms-plugins-ddrunsnippets
A plugin for (MODX)EvolutionCMS.snippets.ddRunSnippets.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:modxevo-plugin
Requires
- php: >=7.4.0
- dd/evolutioncms-libraries-ddtools: >=0.63.0
- dd/evolutioncms-snippets-ddrunsnippets: >=4.2.1
This package is auto-updated.
Last update: 2024-12-04 19:43:29 UTC
README
A plugin for (MODX)EvolutionCMS.snippets.ddRunSnippets.
Requires
- PHP >= 7.4
- (MODX)EvolutionCMS >= 1.4
- (MODX)EvolutionCMS.libraries.ddTools >= 0.63
- (MODX)EvolutionCMS.snippets.ddRunSnippets >= 4.2.1
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
- Plugin name:
ddRunSnippets
. - Description:
<b>1.1.2</b> A plugin for (MODX)EvolutionCMS.snippets.ddRunSnippets.
. - Category:
Core
. - Parse DocBlock:
no
. - Plugin code (php): Insert content of the
ddRunSnippets_plugin.php
file from the archive. - System events:
OnCacheUpdate
.OnDocFormDelete
.OnDocFormSave
.