Book Image

Joomla! 3 Beginner's Guide Second Edition

By : Eric Tiggeler
Book Image

Joomla! 3 Beginner's Guide Second Edition

By: Eric Tiggeler

Overview of this book

Table of Contents (22 chapters)
Joomla! 3 Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – hiding content for nonregistered users


Let's explore how hiding content works. By default, every menu item is visible: the Access level is set to Public. We'll change that setting for the Activities link that's currently shown in Main Menu, as shown in the following screenshot:

Let's make this Activities link visible only for registered users who have logged in. The steps are as follows:

  1. Go to Menus | Main Menu and click on the Activities link to edit it.

  2. In the menu links' Details screen, set the Access level to Registered and click on Save & Close.

What just happened?

That's it! By changing a single menu item parameter, you've effectively hidden the menu item for nonregistered users. The output is shown in the following screenshot:

The Activities link will only be displayed after a registered user has logged in.

Have a go hero – changing access level settings

You may want to explore the way you can change access levels for different items on your site. Take a look at the...