Hello all.
I’ve been needing a feature for letting a child document inherit the template from its parent.
This would really ease working with multiple templates and even make it easy to have multiple domains/sites within a single MODx installation.
This should’nt be very hard to code in for v1.0.3
If you want me to code it let me know.
Should work like this:
1. Create a static template option for all documents named "Inherit". Warn people when they change template for a document that has inheriting children.
2. Make the option for default template read as follows:
a. Default template: <select>[Inherit][TemplateWithName1][TemplateWithName1][TemplateWithName...]</select>
b. Root document template if root document set to inherit: <select>[TemplateWithName1][TemplateWithName1][TemplateWithName...]</select>
3. Code the functionality into MODx and maybe remove the "reset ressources..." for template options as it is no longer needed.
Thanks for your time and an absolute GREAT CMS.
This great idea came from Pe