Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Plugin: minicode not working

Started by Muut Archive 11 years ago · 4 replies · 461 views
11 years ago

Noticed a new plugin named minicode and was anxious to try it out. I'm looking for a method for adding chunks of html into content and sidebars on various pages.

Installed via gpm and followed instructions on repo page.

Output of a simple html file in page content is merely: {{ 'hello.html' | minicode }}

Looks like the plugin is not being recognized. Suggestions?

11 years ago

Thanks. Have opened an issue with the developer. Will report back if there is a satisfactory response.

11 years ago

Did you enable the plugin? Edit user/plugins/minicode/minicode.yaml and make sure that "enabled" is set to true.

YAML
enabled: true
twig_filter: true
enabled_in_admin: true
data_directory: minicodes/
check_html_dom: false
11 years ago

@chellige, thanks for your suggestion. Yes, I had verified that the plugin was enabled. In fact, enabled: true is the default property... but I had checked anyway when the plugin did not function.

In any case, I've since uninstalled the plugin.

I think that to implement little bits and pieces of html (and css?), a much more productive path would be to explore shortcodes.

Shortcodes will most likely be a stretching my (limited) coding chops, but will ultimately be more useful.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2000 9 years ago
Archive · by Muut Archive, 9 years ago
2 1342 9 years ago
Archive · by Muut Archive, 9 years ago
2 4549 9 years ago
Archive · by Muut Archive, 9 years ago
1 3402 9 years ago
Archive · by Muut Archive, 9 years ago
3 1494 9 years ago