Hi,
I'm using elgg 1.8.1 and I have applied this change: https://github.com/Elgg/Elgg/commit/1b657e860b966260ca88a0b0e91ee3d058a78a6a#diff-0 - I don't want drafts to be shown on the group module. Ok, so for so good.
The problem is: where do I find drafts now? If I saved a draft and I want to continue writing it later, where do I find the draft?
Thanks!
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.
- DhrupDeScoop@Dhrup2000

DhrupDeScoop - 0 likes
- Cash@costelloc

Cash - 0 likes
- GeorgeB.@G.B.

GeorgeB. - 0 likes
- pandurx@pandurx

pandurx - 0 likes
- rjcalifornia@rjcalifornia

rjcalifornia - 0 likes
- iionly@iionly

iionly - 0 likes
- pandurx@pandurx

pandurx - 0 likes
- iionly@iionly

iionly - 0 likes
You must log in to post replies.blog status = 'unsaved_draft' and blog save to database are done in the blog's action code.
The group blog page?
Yes, the group blog page. Any draft that belongs to a group is lost. Unless I log in as administrator. That way I can see all drafts.
What can I do?
Not sure if this is fixed or not, here is something I added in the blog module (/mod/blog/lib/blog.php):
$options['metadata_name_value_pairs'] .= array(
array ('name' => 'status', 'value' => 'draft', 'owner_guid' => $current_user->guid,
);
Right after the " if (show_only_published) {... " condition.
Elgg 1.8.16
@pandurx is this still happening? If so, you might submit this bug and your fix to github.
Especially, it would be interesting to know if this bug still occurs on Elgg 1.8.19 as there were some bugs fixed in the blog plugin in the meantime.
I just tested on Elgg 1.9 and it doesn't show the drafted blogs either, it's likely this bug still occurs in v1.8.19.
I can take a look at it again to make sure. If still happening, I can submit in the fixes.
Confirmed. I opened an issue at github: https://github.com/Elgg/Elgg/issues/6682.