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

Updating plugin should restore "enabled" setting

Started by Muut Archive 10 years ago · 2 replies · 374 views
10 years ago

Because of "mod_rewrite" being detected by the plugin "Problems" as disabled in the hosting server (even though the admin confirmed it is active) we have changed its "enabled" setting to false.

However, when updating the plugin, that setting changed back to enabled (naturally, because the problems.yaml file is included in the update package).

Is there a way to make sure some basic settings such as "enabled" don't get overwritten by updates?

10 years ago

I guess you directly modified the plugin settings in user/plugins/<plugin_name>/<plugin_name>.yaml. Those settings are always overridden by updates. If you want to keep your changes persistent copy those files into your user/config/plugins folder and make your changes there.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1366 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1125 9 years ago