|
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
- Confirm that JUGA>>Variables exist for each variable
- In Joomla! 1.0.x, that means `task` and `id`
- In Joomla! 1.5.x, that means `view`, `layout`, and `id`
- Confirm that a JUGA>>Site Item exists for each category on your site
- 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§ionid=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
- Confirm that JUGA>>Variables exist for each variable
- In Joomla! 1.0.x, that means `task`, `sectionid`, and `id`
- In Joomla! 1.5.x, that means `view` and `id`
- Confirm that a JUGA>>Site Item exists for each category on your site
- Set the JUGA Group that has access to the category's Site Item in JUGA>>Site Items
|