By John Smiley on Friday, 17 October 2014
Posted in General Issues
Likes 0
Views 624
Votes 0
I am going in for surgery, and have to pre-build some blog articles for the next 10 days.
I would like to be able to go to my site and view them.

Is there something I can turn off or on to be able to view these temporarily, so I can be sure they are formatted correctly on the site?
Hello John Smiley,

Actually you can unpublished the blog post temporary, so the user do not have the permission to view it.
Then that was good for your admin for edit the blog post and preview from frontend.
·
Saturday, 18 October 2014 00:09
·
0 Likes
·
0 Votes
·
0 Comments
·
OK well, I have 7 sites with 15 pre-built blog articles.
I just need a way so they will all show temporarily...

I think going in to each one, unpublishing, changing the date to today, view, then change the date back and publish is a little extreme.

There really should be a feature where you can view future blogs easily so you can make sure they are formatted correctly.

I know one of the updates once had an error where all future blogs were viewable. Maybe I can change something in the code for each site, then switch it back?

This really should be a feature though. I have had to do this before, and it would be easier to have preview ability, even if it was live temporarily.
·
Saturday, 18 October 2014 00:23
·
0 Likes
·
0 Votes
·
0 Comments
·
hello John Smiley ,

I am really sorry for the delay of this reply as it is a weekend for us here.
Actually I have a little bit lost here, correct me if i understand wrong your mean here, do you mean that when the user type something in blog creation page, they need to preview and see the format is it set correct only publish the blog post?
If yes, from the frontend have a preview button, check my screenshot below.
If I'm still get wrong your meaning, perhaps you provide some screenshot or list down some instruction what you want to achieve here? Please advise.
·
Saturday, 18 October 2014 21:05
·
0 Likes
·
0 Votes
·
0 Comments
·
I create all of the blog articles myself in the Admin area.
I created 15 articles for each site that are past todays date,
I would like to see them on the site now (temporarily)

I was hoping there was something in the code I could change so all future blog articles would show.
I would then just change the code back after I previewed all of them.

I don't use any front end editing at all, since I build them myself.

Thank You
·
Saturday, 18 October 2014 21:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello John,

Perhaps this is what you can try, edit the file /components/com_easyblog/models/blog.php and at line 460 locate the codes below,


$queryWhere = ' WHERE a.`published` = 1 AND a.`ispending` = ' . $db->Quote('0');


Replace it with,


$queryWhere = ' WHERE (a.`published` = 1 OR a.`published`=0)';
·
Sunday, 19 October 2014 00:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Cool thank you.

Maybe you could add a feature for that??
·
Sunday, 19 October 2014 01:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello John,

I don't think it makes sense to display unpublished blog posts on the listing. Even Joomla articles doesn't do that
·
Sunday, 19 October 2014 02:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that is true, but there is no way to preview post dated posts.
It seems to me that some people would like to make sure the formatting is correct before they go live.

I'm going in for shoulder reconstruction surgery and will not be able to do much for a couple of weeks.
This gave me the ability to make sure when the articles post, that they look right.
·
Sunday, 19 October 2014 02:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello John,

I am really sorry for the delay of this reply as it is a weekend for us here. Hence, there's actually a "preview" functionality when you compose your blog post on the front end That allows you to preview the post first.
·
Sunday, 19 October 2014 22:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Ahh ok, I don't have any of that turned on. I just use the admin area.
Maybe you can put a button in there in the future??

Anyway, thanks very much for your assistance.
·
Sunday, 19 October 2014 23:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello John,

Yep, in EasyBlog 5 we have actually standardized our codes and it will no longer have 2 separate codes for the back end and the front end.
·
Sunday, 19 October 2014 23:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi..

Sorry, if I jump into this conversation. I also would like to preview a blog article before I publish it but I don't seen any preview button in my backend, where I write my articles. Maybe you can point me to the right spot?

This is, how my backend looks
·
Saturday, 09 May 2015 20:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Heinz Bren,

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

If you create a blog post from backend, you have to click on unpublish mode and save it.

Then go back the blog listing page and click on the dropdown button > click preview (check my screenshot below)

Hope this help.
·
Sunday, 10 May 2015 13:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Many thanks for your reply, Arlex

It is weekend here as well So don't worry

I tried it out, what you have explained above. Unfortunately, it only shows me published blog articles but not the one I would like to preview and is in the state of being unpublished. Any suggestions, how I can solve this?

Thanks
Heinz
·
Sunday, 10 May 2015 14:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Heinz Bren,

You're welcome, thanks for your understand.

Make sure your frontend logged as Superadmin user, so that you have the permission to preview the blog post in frontend after you click Preview button from backend.
·
Monday, 11 May 2015 01:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Maybe I don't understand you, Arlex. I don't have to log in to my frontend. A login is only needed for my Joomla backend. And I always log in as administrator.
·
Monday, 11 May 2015 03:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Heinz Bren,

Sorry for confusing in earlier.

The reason why you need to login on your frontend is because we do not have preview feature from backend in current system,

when the blog post set to unpublished and click on preview link ( screenshot : http://screen.stackideas.com/2015-05-11_0302.png ),

it will preview this unpublished blog post, check my screenshot : http://screen.stackideas.com/2015-05-11_0305.png
·
Monday, 11 May 2015 03:07
·
0 Likes
·
0 Votes
·
0 Comments
·
OK.. Now I got it Many thanks There is a small button in the preview frontend .. on the upper right corner.. looks like a lock.. After I logged in there and made the preview article again, it showed.
·
Monday, 11 May 2015 03:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Heinz,

You are most welcome. Glad that your issue has been resolved
·
Monday, 11 May 2015 11:35
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post