gRegor Posted October 1, 2015 Posted October 1, 2015 I've set up a Process module that displays various views in the admin area. The contents of these views are built in the ___execute* functions, but I was wondering if anyone has any recommended practices for separating out the view "templates" into separate files. I suppose I could just put template files in the module's directory and require() them from the function calls, but wasn't sure if there's a better / more ProcessWire-y way to do it.
LostKobrakai Posted October 1, 2015 Posted October 1, 2015 https://processwire.com/blog/posts/processwire-core-updates-2.6.1-and-more/#process-modules-now-support-external-view-files 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now