I try to load a plugin when ressource create use a template with id 4
i have activate the plugin for : OnDocFormPrerender.
how to do this. thanks for your Help.
Laurent
-
☆ A M B ☆
- 24,524 Posts
That can’t work; until the newly created resource is saved there is no way to know what template it’s being given. You’ll need to use an event that occurs after saving the resource.