Content Restriction
Features / Changelog
Features
- Define Usergroups which have access
- Use Regular Expressions
- Use and / or statements
- Use not statements
- Debug mode
- Case insensitiv
- p-tags get stripped before the {access...} tags.
Changelog
v1.04 (Joomla 1.6 version, 27th Feb 2011)
- Fixed bug processing tags after readmore or page breaks.
v1.0.3 (Joomla 1.5 version, 26st Feb 2011)
- Changed name from Access Content to Content Restriction, cause of name conventions of the JED.
v1.0.3 (Joomla 1.6 version, 26st Feb 2011)
- Changed name from Access Content to Content Restriction, cause of name conventions of the JED.
v1.0.2 (Joomla 1.5 version, 15th Feb 2011)
- First version
v1.0.2 (Joomla 1.6 version, 15th Feb 2011)
- Fixed bug with or parameter
v1.0.1 (Joomla 1.6 version, 15th Feb 2011)
- Fixed bug with ! parameter
v1.0.0 (Joomla 1.6 version, 8th Feb 2011)
- first version
Documentation
Installation
- Download the zip file
- Install the zip file in the Joomla Extension Manager
- Activate the plug-in "Content - Access Content"
Tags in Joomla Articles
The groups can be set in case insensitiv. For example public = Public
Use for example {access Public}This will only be displayed for public users.{/access}.
The Canedit group are users, who have edit writes on the article.
Example 1: {access canedit}This content will be displayed by all users, who have edit rights on this document.{/access}
Example 2: {access debug=canedit}This allowes users who can edit this article to view the debug mode{/access}
An or stamement is used as following:
{access Public,Super Users}This content will be displayed for public users and Super Users.{/access}
An and statement is used as following:{access +User Group1,+User Group2,+User Group3}This content will be displayed for: Users of User Group 1 and users of User Group2 and users of User Group3.{/access}
The not statement is used as following:
{access !public}This content is displayed for all user groups, which are not public.{/access}
Use Regular Expressions
Whith the #-Character after the statement Regular Expressions can be used:
{access +!#NoAccess,#[.*?]Group,#^Group}This content will be displayed for all User Groups which don't contain NoAccess or all user groups which start with somthing and afterwoods caintain Group or all user groups starting with Group.{/access}
Mixed statementsYou can mix statements:
{access +!public,+!#Group,#GroupSpecials,Super Users}This content will not be displayed for public users, not for user groups containing Group, user groups containing GroupSpecials and for Super Users{/access}
debug= Parameter to debug, displayed by users of the defined user group.
{access +!public,+!#Group,#GroupSpecials,Super Users,debug=Super Users}Debugging mode will be displayed by Super Users. User groups and users of the users groups will be displayed.{/access}
Plugin Parameters
There are two plug-in parameters for Access Content:
1. Default/Added ParametersSet the default parameters of the Access Content when not defined. If defined this string will be added to the Content Access Tag. For example: Super Users,debug=Super Users to add the Super Users Group to all Content Access Objects.
2. Debug UsersDefines if users should be displayed in the debugger. This might be bad for the performance, by lots of users when debugging.
You need support for Access Content?
Look in the support forum. There you get support and tipps for Access Content.
Download
© 2010 by webconstruction.ch, GNU/GPL licensed
This software is GNU/GPL licensed, by downloading it, you are agreeing to these terms.


Home
Proposals
Tools
Support Forum