Lets say I'm doing some user input checking to prevent spam. Since I am
using
myxwiki.org service and have no access to the back end code I
could have some hard coded sensitive info in my script (ie. u/p to
twitter or facebook).
Ajdin
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of Marius Dumitru Florea
Sent: 26 August 2009 16:07
To: XWiki Users
Subject: Re: [xwiki-users] viewer=code
Hi Ajdin,
Ajdin Brandic wrote:
Is there an option (settings) to disable this
(viewer=code) on a site?
I don't know if there is a way to disable the viewer=code from the UI
but I know you can prevent it by editing templates/view.vm around this
line:
#template("${viewer}.vm")
or by renaming templates/code.vm (but that leads to a blank page which
is not user friendly).
Btw, why do you want to hide the code?
Hope this helps,
Marius
Ajdin
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the
addressee only
and may contain information that is confidential or
privileged. Unauthorised use is strictly prohibited. If you are not the
addressee, you should not read, copy, disclose or otherwise use this
message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the
author and do
not necessarily represent those of Coventry University.
_______________________________________________
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