Load Public Position Joomla! Plugin

If you have been using Joomla! for whileyou have probably already encountered the need to hide some content when users are logged in.Let's say for example, you want users to be able to download files only if they have registered and logged in - and you want to display a specific "Register and Login" message only if users are logged out of the website. Or you want to load adverts if users are guests and have not subscribed and logged in to your website.

From our experience there doesn't seem to be many ways to do this.

We encountered this need here on this website, where we want to ask users to register to download files, but once they are logged in, then that message should no longer be visible. It is fairly easy to do this by tweaking some Joomla! code, but this will break the upgradability of your website. So we took the changes and packaged them into this module - the Load Public Position Joomla! Plugin

The plugin provided here allows you to define a module position which you want to load WITHIN your content only when users are logged in.

Usage

Create a module position which you want to hide when logged in via the Module Manager e.g. advertnotlogged, publish it on the pages you want to show, then insert {loadpositionpublic advertnotlogged} into the content where you want the content to show when users are logged out.

Remember to enable the plugin before trying to use it.

Download

Joomla 2.5 and Joomla 3.0

Demo

Try logging into this website and the following message will be gone.

Compatibility

The plugin is compatible with Joomla 2.5 and 3.x


Translate

 

10,000+ Users trust us - Subscribe