I’m a beginner with Grav and PHP so don’t blame too much (I started to read the F*** manual)!
Config: Last Grav installed from the Deliver skeleton + Admin with required plugins.
I try to make a registration form, to do it I follow instructions from the Login plugin at Git (Allow User Registration).
Defined /register as ‘Registration Path’
Tried to open this url in the browser as specified but with no luck! I got:
400 - Template “form.html.twig” is not defined.
Created a page named Register
Retried again, no luck again! (400 - Template “form.html.twig” is not defined.)
Tried to define the page type as: Default and Formdata again with no luck!
Of course the form.html.twig exist in the templates/forms folder because it’s a ‘Team’ skeleton. So I suppose that every required files are on the right location.
If someone could help me and guide me to make it works it will be really cool!
With the next release of the Form plugin (available in Grav 1.1 beta) this problem is solved in another way, by making that page template available in all themes by default.
Ok, a file type is only provided by the files present in the templates/ folder, not in its subfolders. Subfolders are for partials, with the exception of the modular folder which serves modular pages.