-
- 54 Posts
If anyone is using Document Groups and User Groups to provide edit access to their site, this will hopefully be usefull. If you’ve ever had someone say, "Hey, I want to give so and so permission to edit this major section of the website." You’re thinking... greaaattt... there are 100 documents under that section. Do I really want to create a new doc group and manually add all those documents to it?
Well, this module will make your life easier. Just select the document group you want the documents to be a part of, add a page id, and that’s it!
This code could probably be expanded to do all kinds of cool things as well (set a whole section of the site as unsearchable, mass add keywords and metatags, unpublish a whole section of the site, etc, etc...)
I don’t generally make things that look cool, but hopefully they work. If someone wants to style this up, that would be great. Also, if it used the code to pick a doc from the tree (like when setting a new parent), that would be cool too.
Please Note: there are no security checks here so make sure you only allow your full admins to run this module.
Enjoy!
(Modified 3/10/06: Thanks Garry, looks awesome!)
-
- 54 Posts
Is that something that currently exists or is it coming out in a future release? Sounds like good stuff...
I’m really interested to see what happens with all the document security stuff in the future. There’s been a lot of talk about it on the forum with all kinds of views. Is there a document roadmap for future versions and what will (might) be included in them?
It’s for (hopefully) 0.9.2... was thinking of combining Mark’s ajax menu sorting plugin with Garryn’s bulk template changer and this into one uber-ultility for bulk edits.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
- 7,075 Posts
Man, you’re making my day, thanks for this one !!!
Agreed about integrating this
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
-
- 54 Posts
HUGE!!!
I just renamed it to MassModifyDocGroup and updated the attachment in the first post.
Thanks so much, it looks so pretty...
That’s funny that I tested for a valid pageid but didn’t think about how that SQL would blow up with a where string. I guess I kinda hoped that someone would do the cool stuff the modify parent does. If I ever get really bored I’ll look at the code and set that up.
Thanks again, it looks so perty! I’m gonna steal this styling for other modules as well.
love it.
Maybe later I’ll add searchable/unsearchable, publish/unpublish, etc... shouldn’t be all that hard to do.