[opencms-dev] Adding Custom Resource Type to Create New...

Arash Kaffamanesh arash.kaffamanesh at pomegranate.de
Thu Aug 11 21:10:45 CEST 2005


sorry it was the wrong answer:
 
insert in opencms-modules.xml something like this:
 
<resourcetypes>
 
<type class="org.opencms.file.types.CmsResourceTypeXmlContent"
name="portlet" id="1">
                    <param
name="schema">/system/modules/de.pomegranate.frontend/xsd/portlet.xsd</p
aram>
 </type>
 
#
#
#
#
 
<explorertypes>
                <explorertype name="portlet" key="fileicon.portlet"
icon="xmlcontent.gif" reference="xmlcontent">
                    <newresource page="structurecontent"
uri="newresource_xmlcontent.jsp?newresourcetype="portlet" order="25"/>
                    <accesscontrol>
                        <accessentry principal="GROUP.Administrators"
permissions="+r+v+w+c"/>
                        <accessentry principal="GROUP.Projectmanagers"
permissions="+r+v+w+c"/>
                        <accessentry principal="GROUP.Users"
permissions="+r+v+w+c"/>
                    </accesscontrol>
                </explorertype>
#
 
 
an in your module:
 
/system/modules/de.pomegranate.frontend/classes/de/pomegranate/frontend/
workplace.properties
 
These Properties depend on your xsd:
 
fileicon.portlet = Portlet
title.newportlet = Create a new portlet
 
editor.label.Portlet.Title = Title 
editor.label.Portlet.Title.help = The title of the portlet. 
editor.label.Portlet.ShortTitle = Short Title 
editor.label.Portlet.ShortTitle.help = A short title of the portlet used
for navigation links. 
editor.label.Portlet.Image = Image 
editor.label.Portlet.Image.help = Image of the portlet. 
editor.label.Portlet.ImageLink = Image Link 
editor.label.Portlet.ImageLink.help = Link behind the image. 
editor.label.Portlet.Abstract = Abstract 
editor.label.Portlet.Abstract.help = The abstract of the portlet. 
editor.label.Portlet.Link = Link 
editor.label.Portlet.Link.help = Link to the portlet. 
editor.label.Portlet.Release = Release date 
editor.label.Portlet.Release.help = The release date of the portlet.
 
or have look here:
 
/system/modules/org.opencms.frontend.templateone.modules/
 
Restart Tomcat!
 
HTH,
Regards,
Arash
 
www.pomegranate.de
OpeCms Hosting Solutions

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Arash Kaffamanesh
Sent: Donnerstag, 11. August 2005 20:32
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] Adding Custom Resource Type to Create New...


Hi Kevin,
 
/alkacon-documentation/documentation-xmlcontent/
 
Regards,
Arash
 
 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Kelley, Kevin
Sent: Donnerstag, 11. August 2005 15:53
To: opencms-dev at opencms.org
Subject: [opencms-dev] Adding Custom Resource Type to Create New...



Is there any documentation out there about adding a custom resource type
(CaseStudyArticle) to the "Create new." options?  It would go beneath
the Structured Content type.

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


More information about the opencms-dev mailing list