Thanks very much Caleb and Raluca,
I used the:
#if($displayDocExtra&& !$isGuest)
#template("docextra.vm")
<div class="clearfloats"></div>
#end
method in 'docextra.vm' template and now things are working fine :-)
Also the link that was given states how to change the background image
as well which am going to attempt soon....
Thanks so much for this :-)
Best regards,
Kaya
On 25/08/2010 11:07, Raluca Stavro wrote:
Hi,
You can also modify 'view.vm' template and test if the current user is
guest or not before displaying 'docextra.vm'.
For the toucan skin, this is what you should do in 'view.vm' template:
...
#if($displayDocExtra&& !$isGuest)
#template("docextra.vm")
<div class="clearfloats"></div>
#end
...
For more information about how to modify a template see
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins#HD.OverridingtheSkiā¦
.
Raluca.
On Wed, Aug 25, 2010 at 10:17 AM, Caleb James DeLisle
<calebdelisle(a)lavabit.com> wrote:
Making the panel not show up for guests means
editing a template file which
shows that panel. If I recall, the template you need to edit is called docextra.vm
and you'll want to make an if statement something like this.
#if("$xcontext.getUser()" != 'XWiki.XWikiGuest')
## the part which makes the panels show
#end
Caleb
Kaya Saman wrote:
Hi,
is there a way to give user permissions on the bottom panel that has:
Annotations
Comments
Attachments
History
Information
in it??
What I'd like to do is give read/write permissions to all signed up
users and then deny all other "guest" users access so that if a guest
goes into the site the panel doesn't even show?
I'm using the toucan skin and have found this which is too dramatic as
it disables the the comments panel altogether:
http://www.mail-archive.com/users@xwiki.org/msg00864.html
I tried searching under the Panels home but couldn't find any names
correlating to the above panel..... also.
Thanks,
Kaya
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users