Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Plugins not showing up on the page

Started by Vivian 9 years ago · 2 replies · 856 views
9 years ago

Hi, I am really new to Grav. I need to make some tweaks to an existing website developed using Grav.

I need to install a few plugins, specifically 'mobiledetect' and 'simplesearch'. However they don't seem to do anything when I install them via dashboard(admin plugin),nothing has shown up on the webpage. Are plugins theme-specific? I am after solutions that don't involve the cmd if possible( so working directly on the dashboard only)

9 years ago

Yes, they need to be implemented in a theme in order to work.

For example, this is how the pagination plugin is implemented in one of the themes. Might help if you need to implement the plugins yourself.

TWIG
{% if config.plugins.pagination.enabled %}
    {% include 'partials/pagination.html.twig' with {'base_url': page.url, 'pagination': allPosts.params.pagination} %}
{% endif %}

Suggested topics

Topic Participants Replies Views Activity
Plugins · by complanar, 2 weeks ago
2 250 4 days ago
Plugins · by Vladimir Novak, 1 month ago
3 594 1 month ago
Plugins · by Mathieu Lecouturier, 2 months ago
3 416 2 months ago
Plugins · by Slebeig, 2 months ago
1 530 2 months ago
Plugins · by Rene, 3 months ago
2 731 3 months ago