That is really cool but how do you use it!
Thanks
Yeah, I thought it would automatically set the template of the parent when selecting "Create a document here" but it does not...
How do we use it ?
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
It work on mine though.
It will automatically set the default template according to the parent template, during the creation of new doc/folder on backend.
I’ll check then, it’s probably me doing something wrong...
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
Great code, thanks! Very useful stuff for multi-template site.
One additional instruction for using this (since it wasn’t obvious to me): Look at the tab on the Plugin entry page that’s labeled "System Events". Go into that tab and check "OnDocFormPrerender" on that page and then this works just fine.