dev geek wrote:
> Hi,
>
> is there a way to disable export to rtf, html and xar leaving just pdf?
>
> Is ther a way to disable exporting altogether?
Yes.
Depending on what you mean by "disable", you can:
- override menuview.vm to remove the menu entries corresponding to those
exports (but the URLs will continue to work)
- edit WEB-INF/struts-config.xml and remove the mapping for /export/ to
also disable the URLs (for all export formats)
- modify, compile and deploy a custom version of the
com.xpn.xwiki.web.ExportAction and com.xpn.xwiki.pdf.impl.PdfExportImpl
to allow just the PDF export
--
Sergiu Dumitriu
http://purl.org/net/sergiu/