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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

How to override template of plugin 'login'?

Started by alex lacazet 6 years ago · 1 replies · 1059 views
6 years ago

/user/plugins/login/templates/login.html.twig

I want to customize this file. Where should I place a copy of it, to be save from upgrade overrides? Cannot find anything about how to handle templates of plugins.

last edited 03/10/20 by alex lacazet
6 years ago

Create an child theme with the devtools plugin and place youre custom templates in that child theme.

The child theme can be a complete copy of the original theme or an inhereted one.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 47 1 week ago
Plugins · by Xavier, 4 weeks ago
2 56 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1182 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 50 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 74 2 months ago