Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Plugin: minicode not working

Started by Muut Archive 11 years ago · 4 replies · 564 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 Muut Archive, 10 years ago
1 674 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago