There are times when the project of a site calls for the introduction of texts to be visible by general audiences, but if the visitor wants to see the full article, s/he must log in to the system. The full content is blocked and only after the visitor creates or is granted an access account will s/he be able enjoy the full content of the article.
In this short tutorial, I will show you how to configure your Joomla system to meet this demand.
- In the Article Manager: Articles click on Options button on the top right.
- Then, click on the Articles tab, go to the option Show Intro Text and click on Hide. This will allow the introduction to be displayed separately from the rest of the article, enabling, for example, your article to have a different intro text from the full article.
- On the same page, down below, go to Show Unauthorized Links and select Yes.
- Create your article separating the intro text from the full text by using the well-known Read More feature.
- Change the access level of the article to Registered.
Test the result. When you visit the page, the usual Read More button changes to Register to read more...
Once you click on it, the page will load the login module.
After logging in, you will see the full article.
Remember this feature will only affect those articles with the intro text separated from the full article by a Read More and set to Registered.
Please note: this may not work correctly on localhost.
Author's note: this article has been originally been published in issue February 2015 of the Joomla Community Magazine.