Unknown "shortcodes" filter
sparkalow opened this issue · comments
Brian M. commented
I'm getting 'Unknown "shortcodes" filter.' error after install and basic setup.
I've basically followed the first few steps in the readme:
- composer require
- create config file mapping shortcode twig template
- attempt to use 'shortcode' twig filter on field in frontend template
Results in unknown twig filter error.
I attempted to step through the main plugin init()
method in Shortcodes.php
with xdebug, but it never loads. I've tried regenerating composer autoload files also.
Is there anything required to install/bootstrap the plugin beyond composer require samhernandez/craft-shortcodes
?
Using Craft 3.4.20
Brian M. commented
Answering my own naive question:
After the composer install, you must "activate" the plugin via the admin.
(/admin/settings/plugins in craft 3 control panel)