We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
General
General Support
Search
Answered
Plugin that automatically changes the resource type (class_key) depending on the parent
<
1
2
>
24,544 Posts
BobRay
Reply #11,
9 years, 6 months ago
@Susan: Yes, fixed above -- thanks.
BTW, using OnDocformSave shouldn't cause an extra page reload, though it will be a few milliseconds slower than using OnBeforeDocFormSave.
Did I help you?
Buy me a beer
Get my Book:
MODX:The Official Guide
MODX info for everyone:
http://bobsguides.com/modx.html
My MODX Extras
Bob's Guides is now hosted at
A2 MODX Hosting
discuss.prev
discuss.answer
108 Posts
kehezen
Reply #12,
9 years, 5 months ago
actually it's a non-sense, at least in my project, to do this with a plugin while I can customize the manager forms and set a default value for a specific template !
illustration :
http://cl.ly/image/3r1K002K1y24
follow
http://rtfm.modx.com/revolution/2.x/administering-your-site/customizing-the-manager/form-customization-sets/customizing-tabs-via-form-customization
if you're in need
Sorry for that ⇧ , I'm no dev but I wanna try
<
1
2
>