gunter Posted February 11, 2018 Posted February 11, 2018 How can I load a file and use it like page template, populate variables and render it? There is such a functionality, I searched 15 minutes, but I cannot find it!
flydev Posted February 11, 2018 Posted February 11, 2018 Hi, it look like you are looking for that: https://processwire.com/blog/posts/processwire-2.5.2/#new-wirerenderfile-and-wireincludefile-functions 7
Robin S Posted February 12, 2018 Posted February 12, 2018 Also note that in PW3 wireRenderFile() and wireIncludeFile() are $files->render() and $files->include() respectively (those earlier functions now just call the $files methods internally). 4
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