PHP code example of dd / evolutioncms-snippets-ddgetchunk
1. Go to this page and download the library: Download dd/evolutioncms-snippets-ddgetchunk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dd / evolutioncms-snippets-ddgetchunk example snippets
//Include (MODX)EvolutionCMS.libraries.ddInstaller
nstaller/taller::install([
'url' => 'https://github.com/DivanDesign/EvolutionCMS.snippets.ddGetChunk',
'type' => 'snippet'
]);
\DDTools\Snippet::runSnippet([
'name' => 'ddGetChunk',
'params' => [
'name' => 'someChunk'
]
]);