Source of file _config.php
Size: 0,719 Bytes - Last Modified: 2021-12-24T06:43:31+00:00
/var/www/docs.ssmods.com/process/src/_config.php
12345678910111213141516171819 | <?php if(!defined('SILVERSTRIPE_PARDOT_PATH')) define('SILVERSTRIPE_PARDOT_PATH', rtrim(basename(dirname(__FILE__)))); use CyberDuck\Pardot\Provider\PardotShortCodeProvider; use SilverStripe\Forms\HtmlEditor\HtmlEditorConfig; use SilverStripe\View\Parsers\ShortcodeParser; ShortcodeParser::get('default')->register( 'pardot_form', [PardotShortCodeProvider::class, 'PardotForm'] ); ShortcodeParser::get('default')->register( 'pardot_dynamic_content', [PardotShortCodeProvider::class, 'PardotDynamicContent'] ); HtmlEditorConfig::get('cms')->enablePlugins([ 'pardot' => '/resources/vendor/cyber-duck/silverstripe-pardot/client/js/pardot.js' ]); HtmlEditorConfig::get('cms')->addButtonsToLine(2, 'pardot'); |