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 →

Theme and Plugin

Started by Ray P (for ICA Surabaya) 9 years ago · 0 replies · 804 views
9 years ago

Hi guys,

Had a problem getting a plugin to check the custom theme first.
How can I do this?

I put in the suggestions on :
https://learn.getgrav.org/cookbook/plugin-recipes

using array_unshift but I can't get the plugin to check the theme first then the plugin /templates directory.

So far had this nightmare that I edited a plugin template to have it destroyed on the plugin next upgrade.
Just wanted the user/theme/template to take precedence and not the user/plugin/template when it comes to twigs.

Can I do that?

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by themetman, 6 days ago
1 104 3 days ago
Themes & Styling · by AH, 3 weeks ago
1 224 3 days ago
Themes & Styling · by Bruno, 4 years ago
6 1388 3 days ago
Themes & Styling · by TomW, 3 weeks ago
2 227 5 days ago
Themes & Styling · by FrViPofm, 2 months ago
4 687 2 months ago