By Valeriy on Saturday, 06 January 2018
Posted in General Issues
Replies 5
Likes 0
Views 553
Votes 0
How do I turn off saving drafts.
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

Unfortunately that was no setting to turn it off but you can modify on this file -> JoomlaFolder/components/com_easyblog/themes/wireframe/composer/sidebar/actions.php

Remove these line of code :

<?php if ($post->isBlank() || $post->isPublished() || ($post->isDraft() && !$post->isPostUnpublished())) { ?>
<a href="javascript:void(0);" class="btn btn-eb-default btn--lg btn-block btn-draft" data-composer-save-draft>
<?php echo JText::_('COM_EASYBLOG_SAVE_AS_DRAFT_BUTTON');?>
</a>
<?php } ?>


After you modified it, you can copy this modification file override into your current template -> JoomlaFolder/templates/YourCurrentTemplate/html/com_easyblog/composer/sidebar/actions.php
·
Sunday, 07 January 2018 10:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you. And how to disable automatic saving of drafts?
·
Sunday, 07 January 2018 13:36
·
0 Likes
·
0 Votes
·
0 Comments
·
We do not have setting to turn it off, but you can download my attached file and replace into

JoomlaFolder/templates/YourCurrentTemplate/html/com_easyblog/composer/default.php
·
Sunday, 07 January 2018 13:47
·
0 Likes
·
0 Votes
·
0 Comments
·
This solution did help not to prevent automatic saving of the drafts.
·
Monday, 08 January 2018 04:48
·
0 Likes
·
0 Votes
·
0 Comments
·
I've tested in your site, it seems like that autosave ajax call no longer exist when i open composer and wait for 10 minute.

Perhaps you can try temporary remove all the draft from backend, then try open a new composer, it will only generate one draft for your current composer page, once you publish the post, it will no longer consider is a draft.

And It won't process auto save draft.
·
Monday, 08 January 2018 11:06
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post