Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

No "form" display template when creating form with admin?

Started by Muut Archive 11 years ago · 1 replies · 439 views
11 years ago

I've installed grav with woo skeleton and it all looks good. Forms plugin came along with zip.

Now I'm trying to create a form using the admin interface but under the Pages|Options|Display Template drop-down I only get to choose between "Default", "Error" and "Modular".

When I manually change the name of the form file from "default.md" to "form.md" the web server returns an error page saying '400 - Template "form.html.twig" is not defined.'

Any ideas?

Do I need to copy a form.html.twig file to some directory or create one that includes the one needed? And if so where from and to would that be?

Thanks in advance!

11 years ago

Solved!

The copied form.html.twig into the woo themes templates folder /my_site/user/themes/woo/templates

Now form is also in admins display templates drop-down and when saved with that template I indeed get my form.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2606 9 years ago
Archive · by Muut Archive, 9 years ago
2 1711 9 years ago
Archive · by Muut Archive, 9 years ago
2 5008 9 years ago
Archive · by Muut Archive, 9 years ago
1 3837 9 years ago
Archive · by Muut Archive, 9 years ago
3 1819 9 years ago