2 adrian_alexander Nov 04, 2013 14:15

I understand how it works at the moment - the posts are not public until published.
But I want them not to appear on the front end at all until published, not even for the post author or logged-in users. Is that possible?
Hi @filthio,
I'm not sure this can be done with any configuration at the back-office because it's a little starnge requirement :D, but you can do it adding some hack to your skin. This case is for the standard evopress skin.
Add this code to file skins/evopress/_item.block.inc.php
at line 19.
if( $Item->status == 'published' )
{
and then go to line 125 and add this:
}
This will avoid to show any item with status different to "published", no matter its author.
Thanks, that will do the trick.
Strange it might be, but it was default behaviour up until 2.x (I skipped 3 and most of 4 so I don't know about those).
Nice tip @filthio, I didn't know it. I came directly to v5.
Thanks !
As long as the etiquete says "Draft" , even if you actually see them on your blog page as if they are published, no one else will see them untill you actually click "make public". I do not have however more users registered on my blog, so I can't say if other authors also see unpublished work by the others if they are logged in.