-
- 1,098 Posts
Hi, is there a way to make a field like "longtitle" or "menutitle" required? Also, is there a way to get the date template variable required? I used to do these things with ManagerManager plugin on Evolution.
Thanks in advance.
-
- 102 Posts
Have you tried with plugin, ie OnBeforeDocFormSave...
Antonio Zdilar
linearvector.com
-
- 1,098 Posts
Nope, I am a Web Designer....is that difficult? :p
-
- 102 Posts
No, but you will need few lines of php. Basically, you create a plugin and tell it to listen on OnBeforeDocFormSave. Then you check if ie longtitle is not empty, if it is not empty - save resource, otherwise don't save and send according message to user.
http://rtfm.modx.com/display/revolution20/Plugins
Antonio Zdilar
linearvector.com
-
- 1,098 Posts
Good idea, thanks, I'll look into it. I asked because I thought there was something ready for this, the pagetitle is already required.