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