The title says it all - why can't, or how can, Admins move a blog post from one Group or whatever to another. The only way I have found to do this is to copy the post, delete it and then paste it where it should be : clumsy !
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
You need to develop a plugin so that you can change the container_guid of those contents.
There is a PlugIn for doing something similar for Groups' ownership - try browsing the code for that and maybe... that can be adapted for Blogs.
@Team Webgalli : well I don't think I have that capability yet ... but thanks.
Thanks also DhrupDeScoop - I'll check that.
http://community.elgg.org/pg/plugins/project/791866/developer/sembrestels/group-operators-elgg-18 ;-)
Thanks again Dhrup but I can't see where that would help, it seems this plugin changes ownership of a group whereas I'm looking to be able to move content from one group to another or am I wrong ?
I found this : Group migration tool but it's still for 1.6 :(
the group operator plugin can be used to form the basis for creating another for similar logic with content ;-) but some fair amount of code will be needed. group ownership change *is the same logic as content moves - at low-level code -- the same kind of php/elgg api code will be used for both.
the group migration tool from v.1.6 will require some code effort too. either way - one (you, me, anybody else..) has got to provide effort to get the required new code -- php + elg api -- because the code does not write by itself ;-)
cheers..
Still not exactly what you are looking for (additionally not yet ported from Elgg 1.7 to Elgg 1.8):
http://community.elgg.org/pg/plugins/project/444084/developer/costelloc/move-forum-post
It moves group discussion topics from one group to another.
Thanks folks for all the help and suggestions - maybe some brave person will forge ahead and build something, I know I can't in my present state of knowledge.
I've managed to do this by editing the database directly. I know I'll probably be thrown out of the community now for doing that :)
But it was as simple as changing the container_guid to the group id for the particular post - all it's replies and even embedded content moved too.
I also then moved the embedded file using the same method, and the file went from one group's 'Files' area to another.
I've had a quick look at the plugin mentioned, and that's really all the code does. I guess the work is in making the plugin follow the 1.8 format?
Bad Dave! *slaps wrist*
But you're absolutely right, the container_guid is the key to this and that is all those plugins are doing. It's still recommended to do this via the Elgg API if you can though.
- Previous
- 1
- 2
- Next
You must log in to post replies.