[opencms-dev] Customizing New Resource Dailog
Matt Thomas
matt.thomas at nn.k12.va.us
Fri May 1 15:32:05 CEST 2009
Thanks for the tips, Paul!
I've found that this works if you add the restypes.available property to the folder in the VFS that you want to restrict. Then, if you create a new resource in that particular folder, the dialog will be customized for that folder only.
One other question: I'm still learning my way around opencms, and am not sure where to find the functional names of all the resource types. For instance, I have added "folder" and "extendedfolder" to the restypes.available list and this works fine, but I do not know the correct naming for Page With Free Text or Pattern Page for me to add to the list. Can you point me to the location where I can find the names of the resource types?
Thanks again for your insight, this is very helpful.
Matt
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Tim Daschner
Sent: Thursday, April 30, 2009 10:10 PM
To: 'The OpenCms mailing list'
Subject: Re: [opencms-dev] Customizing New Resource Dailog
That's useful information. So where does one put the property? I mean where (which file) does one define the restypes.available property?
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Paul-Inge Flakstad
Sent: Thursday, April 30, 2009 2:18 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Customizing New Resource Dailog
Hi Matt
You can define the resource types available via the "new" dialog by entering the type names in the property field "restypes.available" (you may need to create this property field).
Specifiy the resource types by their name and separate them with the pipe ("|") character.
You can also specify which resource types is available to the user as index pages upon folder creation in the same manner, using the property "restypes.indexpage".
Cheers,
Paul
________________________________
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Matt Thomas
Sent: 30. april 2009 20:54
To: opencms-dev at opencms.org
Subject: [opencms-dev] Customizing New Resource Dailog
Hello,
I've searched config files and the VFS for a way to configure the dialog box for a new resource. I would like to restrict this list to just a few choices to be sure that end users do not create resource types that we won't be using. Does anyone know of a way to configure that dialog? I do not wish to delete these resource types, only disable them from that box.
Thank you,
Matt Thomas
Newport News, Public Schools
________________________________
Newport News Public Schools Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message.
________________________________
Newport News Public Schools Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090501/6e44e317/attachment.htm>
More information about the opencms-dev
mailing list