Menu

Joomla Blog

Tutorials, reviews, case studies and other tips to help website owners and website developers master the Joomla content management system.

How to Preview Articles

 
Previewing articles in Joomla has always been tricky, and it’s even trickier in Joomla 1.6, but we’re here to help.
 
Preview woes

 
 
 
In the days of Joomla 1.0 and 1.5, Joomla developers learned to preview articles with the site native preview function:
 
Previewing articles
 
 
 
 
 
 
 
 
However, this function only showed you a basic, raw display of the content. It wasn’t a full live preview, and that’s always nice to check out before publishing a new article.
 
 
 
Joomla forced our hand in this case by removing the preview option entirely in version 1.6:
 
Previewing articles
 
 
 
 
 
 
 
 
 
 
But fortunately for intrepid Joomla developers everywhere, the new ACL support in 1.6 provides a handy solution for generating a live preview.
 
 
 
 
Wait a minute. What does “ACL” mean? My knees are fine.
 
 
 
 
In web development parlance, ACL stands for access control list. In short, it’s the body of software, gizmos and code that lets you control who gets to see what on your site. Previous versions of Joomla have lacked native ACL control – spawning a lively family of ACL plugins – but version 1.6 includes robust ACL support. Here’s how to use it to get a live preview in 1.6:
 
 
 
 
1. Create a new user access group.
 
 
 
 
Most Joomla users remember the basic user access groups – Public, Registered and Special. In 1.6, you can make as many as you like. To create a new one, log in and navigate to:
 
 
 
 
Users > Access Levels > Add A New Access Level
 
 
 
 
On the next page, you’ll name your new access level, and you’ll decide what user group you want to be able to see this access level. For our purposes, I’ll call the new access level “Preview Only,” I’ll only give Super Users (that’s the name for Super Admins in 1.6) the ability to see stuff in the "Preview Only" access level.
 
Previewing articles
 
 
 
 
 
 
 
 
 
 
2. Write your new article.
 
 
 
 
Navigate over to the article manager and write a new article. Before you save it, make sure you click the “Access” drop-down menu and choose your new access level – “Preview Only.”
 
Previewing articles
 
 
 
 
 
 
 
 
 
 
3. Create a menu item for your article.
 
 
 
 
Add a new “single article” menu item that leads to your new article. As with the article itself, make sure you set its access level to “Preview Only.”
 
 
 
 
4. Log in through the front-end and preview your article.
 
 
 
 
Navigate to the front-end of your site and log in. You should see a menu link for your article, and you should also be able to view the article itself. No one else will. Once you’re ready to publish, set the article’s access level to public. That’s it!
 
 
 
 
NOTE: If you’re already logged into your front-end, you may have to log out and log back in to get this to work.
 
Previewing articles
Rate this blog entry:
Announcing: Joomla Contest
Case Study: CC2K

Related Posts

 

Comments 3

murtaza on Wednesday, 13 June 2012 20:46

How can we preview article in browser window just like wordpress?

0
How can we preview article in browser window just like wordpress?
Richard Pearce on Thursday, 14 June 2012 12:34

This process is helpful if you just want to use the Joomla core. But there are extensions that can make life easier. See http://extensions.joomla.org/extensions/administration/admin-interface

Better Preview and Real Preview for Joomla are worth a look.

0
This process is helpful if you just want to use the Joomla core. But there are extensions that can make life easier. See http://extensions.joomla.org/extensions/administration/admin-interface [b]Better Preview[/b] and [b]Real Preview for Joomla[/b] are worth a look.
Guest - Alan Sparkes on Saturday, 10 November 2012 00:17

We have just released a free version of Real Preview :)
http://www.realpreview.net

0
We have just released a free version of Real Preview :) www.realpreview.net

Free Joomla TutorialLearn Joomla for free with our 16 lesson, 2 hour course.

Get Started