[opencms-dev] Customizable New Dialog

Tomáš Adámek tomas.adamek at qbizm.cz
Mon May 15 16:10:28 CEST 2006


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.

-- 
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