JayGee Posted January 6, 2022 Share Posted January 6, 2022 (edited) I'm in the process using PW multisite configuration to centralise a family of sites that will be identical aside from content. I'm trying to create a shared folder for the main site templates and modules. It's all working fine so far but I can't get ProFields Repeater Matrix to play nice. I have my paths set up as follows in config: $config->paths->templates = $config->paths->root . 'shared/templates/'; $config->urls->templates = $config->urls->root . 'shared/templates/'; $config->paths->fieldTemplates = $config->paths->root . 'shared/templates/fields'; $config->urls->fieldTemplates = $config->urls->root . 'shared/templates/fields'; $config->paths->siteModules = $config->paths->root . 'shared/modules/'; $config->urls->siteModules = $config->urls->root . 'shared/modules/'; But the repeater matrix doesn't seem to be picking up the customer templates located in /shared/templates/fields In the template I have the usual: echo $page->render('page_blocks'); ?> But all I'm getting is a bullet point list of matrix block ID's. It's not rendering using the templates. I can force the path of page->render to use the shared folder ($config->paths->fieldTemplates.'/page_blocks.php), but then it just outputs a blank page - as if it's not finding the sub templates. Any ideas? ? Edited January 6, 2022 by Guy Incognito solved problem Link to comment Share on other sites More sharing options...
JayGee Posted January 6, 2022 Author Share Posted January 6, 2022 I had a typo - missed a '/' off the end of my fields path ? I'll see myself out ? Link to comment Share on other sites More sharing options...
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