loveorigami / yii2-shortcodes-pack

Shortcodes pack for https://github.com/loveorigami/yii2-plugins-system
MIT License
24 stars 3 forks source link

doesnt work need help #15

Closed daunt closed 6 years ago

daunt commented 6 years ago

hey andrey what i missed? im tried follow step by step to using this "shortcodes" even im embbedd into view index of plugin controller screenshot 508

test on frontend screenshot 509

backend config 'bootstrap' => ['log', 'plugins'], 'modules' => [ 'plugins' => [ 'class' => 'lo\plugins\Module', 'pluginsDir'=>[ '@lo/plugins/core', // default dir with core plugins '@lo/shortcodes', // dir with shortcodes pack '@common/shortcodes', // dir with our plugins with shortcodes ] ], ], 'components' => [ 'plugins' => [ 'class' => lo\plugins\components\PluginsManager::class, 'appId' => 2 // lo\plugins\BasePlugin::APP_BACKEND ], 'view' => [ 'class' => lo\plugins\components\View::class, ], ........

frontend config 'plugins' => [ 'class' => lo\plugins\components\PluginsManager::class, 'appId' => 1, // lo\plugins\BasePlugin::APP_FRONTEND, // by default 'enablePlugins' => true, 'shortcodesParse' => true, 'shortcodesIgnoreBlocks' => [ '<pre[^>]*>' => '<\/pre>', //'<div class="content[^>]*>' => '<\/div>', ] ], 'view' => [ 'class' => lo\plugins\components\View::class, ],

loveorigami commented 6 years ago

Good. And in tab shortcodes you can enabled this shortcodes.

daunt commented 6 years ago

The same problem.. It has enabled after all plugin enable.. Only Http auth and helloworld working fine Im check event shortcodes in class view only default core listened screenshot 510

daunt commented 6 years ago

thanks andrey the problem solved..