-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FormBuilder and twig template #21
Comments
Hi @mc72 Thanks for the report! I think that the module should not exclude system templates in its configuration. I'll introduce this with the next release. To temporarily solve this problem, you could hook after Here is an example how to setup the hook: https://github.com/wanze/TemplateEngineFactory/blob/master/DOCUMENTATION.md#___shouldrenderpage Let me know if you need help with the hook or if you solved this in another way. Cheers |
Fixed with v2.0.1 - system templates can now be enabled/disabled in the TemplateEngineFactory module configuration. |
Hey @wanze , thanks for fixing this. I just ran into this issue today. For some reason I'm not getting the module update notifications in the Processwire admin when I check for updates? Did you update the modules directory to 2.0.1? It looks like it still shows 1.1.3 for some reason? |
Using v2 of twig and latest version of Form Builder pro module. When trying to display the easy embed (Iframe) method on a page, or in the backend, I get an error:
Error: Exception: Unable to find template "form-builder.twig" (looked into: /srv/users/serverpilot/apps/xxappnameremovedxx/public/site/templates/views). (in /srv/users/serverpilot/apps/xxappnameremovedxx/public/vendor/twig/twig/src/Loader/FilesystemLoader.php line 250)
Past versions of twig did not display this error and just displayed the form-builder.php code. I can't exclude the form-builder template in the Factory settings as it is a system template.
The text was updated successfully, but these errors were encountered: