I have customised a template, and it has several image links that must be displayed through the template. I would like three to display when a guest views, and three to display when a registered user views.
Right, ive got the bot
But what code for the mambot do I put round my images to make them viewable by guests only or members only, as the mambot code can't just be entered into the template right?
One ore more group name should be passed, you can expressly deny access by putting a '!'
before the group name in question. It will keep looping through the list provided until
it finds a 'true' value so strange results may occur with conflicting group access. The
standard Joomla! hierarchy applies so an Editor, would be allowed to see content secured
by the Registered or Author group names.
Valid group names are:
guest
registered
author
editor
publisher
manager
administrator
super administrator
special (administrator or super administrator)
Examples:
{rokaccess guest}shows only to guest users{/rokaccess}
{rokaccess !guest}shows to all users who are not a guest{/rokaccess}
{rokaccess registered}shows to all users who are registered{/rokaccess}
{rokaccess guest,!editor}shows to all guests and members who are NOT editors{/rokaccess}
{rokaccess editor,special}shows to editors, administrators, and superadministrators{/rokaccess}
IT Consulting - Asesor Informatico
www.ninjoomla.com
Extensions, training, tips and services to support Web Developers and Site Owners.
NO! Your not understanding me!
I need the HTML in the template not the content!
I can't simply put {rokaccess guest}{/rokaccess} in the template HTML can I?
I have some code in the template which I want to work only for guests or only for registered