[opencms-dev] Adding more default resource types

Dylan Milks DMilks at greenridge.ca
Fri Apr 23 23:34:02 CEST 2004


I'm trying to add more default resource types to the configuration files (cmssetup.txt and opencms.properties). As an example, I want a Flash file to be an approved file type. So I put the following line of code in cmssetup.txt: "addFileExtension binary swf". I've also added it in opencms.properties: "s#(.*\.swf$)#${url_prefix_export}$1#, \ "   and elsewhere in the same file   "s#(.*\.swf$)#$1#, \ ".  However, when I re-install OpenCMS and go to the "Resource Type Management", there are no types listed at under each category. What am I doing wrong???
 
Thanks in advance,
- Dylan

-------------------------------------------------------------------------------------------------------------------
This communication, including its attachments, if any, is intended solely
for the recipient; it is confidential and may contain personal or private
information, or proprietary and/or privileged material. As such, any
unauthorized use, retention, copying, disclosure or other distribution of
this communication, or the taking of any action in reliance on its contents
is strictly prohibited. If you have received this communication in error,
please notify us immediately and delete this communication (and any
attachments.)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040423/bfcbcfaa/attachment.htm>


More information about the opencms-dev mailing list