[opencms-dev] Adding more resources sub-types
Dylan Milks
DMilks at greenridge.ca
Mon Apr 26 17:18:01 CEST 2004
If I go to "Resource type management" on the admin side of OpenCMS, and add ".tiff" under "Image" - what corresponding action is taking place? Where is it storing those values (e.g.: Image has -> gif, jpeg, jpg, bmp, etc...)?
If I add a sub-type this way, I don't have to modify/create a new class. Can't I simulate this some way without having to write a new class?
- Dylan
-----Original Message-----
From: Joachim Arrasz [mailto:info at arrasz.de]
Sent: Monday, April 26, 2004 10:02 AM
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] Adding more resources sub-types
Hi,
> I've seen some previous threads where people have wanted to add
> additional resource types - like generic XML. I want to do something
> similar (but different): add additional sub-types. Example: I want a
> fresh install of OpenCMS to have .swf files under the binary type and
> .tif/.tiff under the image type. I've modified the cmssetup.txt and
> opencms.properties files, and then tried a new install - but it didn't
> work - the file types didn't appear under their categories. Can someone
> please provide me with the steps needed to do this?
you must also write special subclasses for your ResourceTypes. Then it
should work!
Hope this helps
Achim
--
Questions about OpenCMS?
--> www.opencms-forum.de
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list