I'm running around in circles trying to solve a very old problem that I swear I solved months, even years ago, and can no longer achieve despite much searching and reading. And it's a silly little problem everyone must have. Apologies if I'm repeating but I just can't work it out.
Why wouldn't someone want to arrange to have children of a given resource use *or* inherit a predefined template?
First off, can anyone confirm that the current standard behaviour in Revo 2.3 is that child resources inherit their template from their parent? It does seem that's whats doing on, in spite of a system setting that indicates a side-wide default template. I presume that setting applies only to the root.
I remember the day I discovered how to use something like Form Customisation to cause children to use a template of my choice, depending on the parent. I vaguely remember someone explaining how to accomplish that and the going off and doing it successfully - it made me very happy, but after all this time, and fresh research, I can't figure it out again or even find evidence of having done it myself! Incredibly frustrating.
What I've discovered instead is that if I create a resource/create set with a default value for "template" ('5', for example), it then causes the site-wide default template to that template. Doesn't matter where I create a new resource, everything new uses template #5. Now that can't be right in any case, and I can't help wondering if that's a bug and if it were fixed then my problem would be solved. It seems the setting simply isn't limited to the template constraint indicated by the set I've created.
The last dicussion I could find on the subject (
https://forums.modx.com/forums/thread/32445/new-revolution-feature-form-customization?page=5#dis-post-177321) was about 4 years old and other people were discussing plugin scripts that could achieve this. I think Ryan Thrash even said he planned to incorporate it into a subsequent build, or something like that, so I wonder if it's not standard behaviour that children always inherit their parent's templates, which does seem to be the case.
There are a couple of related plugins (
http://modx.com/extras/browse/?search=inherit+template). I doubt either of them are going to let me dictate the template I want, instead simply causing inheritance which it seems to me is already supported in the core.