[opencms-dev] Remove resource type from explorer->new

Tomáš Adámek tomas.adamek at qbizm.cz
Fri Jun 30 15:11:23 CEST 2006


Pls try to search mail archives next time - i posted this like 1 month 
ago ;-)

 > Hello,

I just found one sweet feature in new OpenCms 6.2.0 (as far as I know 
this feature wasn't include in older versions). There is a way to view 
custom dialog for creating new resources accessible from main menubar 
("New" button).

It is possible to set list of available types which can be created under 
specified directory - just create a new property on directory called 
'restypes.available' and as value assing list of restypes delimited by 
comma (for example 'folder,news,xmplage'). Now if you will hit 'New' 
button under this directory, you will get dialog with previously defined 
types only (this rules applies even on subdirectories).

I am not sure, if this feature is well known, just found it today deep 
in source code :), but maybe it will help someone.

Achim Fischer napsal(a):
> Hi,
> 
> I'm using OpenCms 6.2.1 and when I click the "New"-Button in the 
> explorer I get a list of resource-types to select, i.E.
> 
> "Folder"
> "Structured Content"
> "Pattern Page"
> "Page with free text"
> ..
> 
> 
> Now I want to remove, let's say, "Pattern Page" from this list.
> 
> What do I have to delete?
> 
> 
> Regards
> 
> Achim
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev

-- 
Tomas Adamek                                Qbizm technologies, a.s.
analyst-developer                           ... the art of software.
____________________________________________________________________
www.qbizm-technologies.cz    www.qbizm.cz      www.qbizm-services.cz



More information about the opencms-dev mailing list