Skip to content
Narrow screen resolution Wide screen resolution Auto adjust screen size Increase font size Decrease font size Default font size

dioscouri.com

Home arrow JUGA arrow HowTo arrow Restrict Content Categories
Restrict Content Categories

If you've read our manual page, then you know that JUGA treats each URL as a specific Site Item.  This means, then, that viewing a category is treated as a single Site Item. Let's take a look at how to restrict a content category when the category is being displayed in two different ways, blog and table.


Blog Category

The URL for a Blog Category in Joomla's two versions will look something like this:

Joomla! 1.0.x

  • index.php?option=com_content&task=blogcategory&id=14 

Joomla! 1.5.x

  • index.php?option=com_content&view=category&layout=blog&id=14

Therefore, if you want to restrict access to viewing an entire category, you would have to

  1. Confirm that JUGA>>Variables exist for each variable
    1. In Joomla! 1.0.x, that means `task` and `id`
    2. In Joomla! 1.5.x, that means `view`, `layout`, and `id`
  2. Confirm that a JUGA>>Site Item exists for each category on your site
  3. Set the JUGA Group that has access to the category's Site Item in JUGA>>Site Items 

Category Table/List

The URL for a Category Table in Joomla's two versions will look something like this:

Joomla! 1.0.x

  • index.php?option=com_content&task=category&sectionid=9&id=14

Joomla! 1.5.x

  • index.php?option=com_content&view=category&id=14

Therefore, if you want to restrict access to viewing an entire category, you would have to

  1. Confirm that JUGA>>Variables exist for each variable
    1. In Joomla! 1.0.x, that means `task`, `sectionid`, and `id`
    2. In Joomla! 1.5.x, that means `view` and `id`
  2. Confirm that a JUGA>>Site Item exists for each category on your site
  3. Set the JUGA Group that has access to the category's Site Item in JUGA>>Site Items
 
Skilled in PHP and Joomla!? Like working from home? Want to join our team? If freedom and creativity appeal to you, contact us in our Support Center!

Login Menu