SV: [opencms-dev] new resource type
Anna Larsson
Anna.Larsson at framfab.com
Wed Feb 21 12:22:44 CET 2007
Thanks!
But where do I set the title that appears in the first list?
________________________________
Från: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] För Andrea Bollini
Skickat: den 19 februari 2007 10:22
Till: The OpenCms mailing list
Ämne: Re: [opencms-dev] new resource type
Hi Anna,
you need to edit the opencms-workplace.xml
add some like this:
<explorertype name="xmlgroupalpha" key="fileicon.xmlgroupalpha" icon="xmlcontent.gif" reference="xmlcontent">
<newresource uri="newresource.jsp?page=xmlgroupalpha" order="5" autosetnavigation="false" autosettitle="false"/>
</explorertype>
<explorertype name="xmlgroupbeta" key="fileicon.xmlgroupbeta" icon="xmlcontent.gif" reference="xmlcontent">
<newresource uri="newresource.jsp?page=xmlgroupbeta" order="5" autosetnavigation="false" autosettitle="false"/>
</explorertype>
so in opencms-module.xml you can use the "xmlgroupalpha" e "xmlgroupbeta" to move some xmlcontent in these two new entry of main menu
example
<explorertypes>
<explorertype name="newstructured" key="fileicon.newstructured" icon="xmlcontent.gif" reference="xmlcontent">
<newresource page="xmlgroupalpha" uri="newresource_xmlcontent.jsp?newresourcetype=newstructured" order="50" autosetnavigation="false" autosettitle="false"/>
...
</explorertype>
<explorertype name="secondnewstructured" key="fileicon.secondnewstructured" icon="xmlcontent.gif" reference="xmlcontent">
<newresource page="xmlgroupbeta" uri="newresource_xmlcontent.jsp?newresourcetype=secondnewstructured" order="50" autosetnavigation="false" autosettitle="false"/>
...
</explorertype>
</explorertypes>
Best wishes,
Andrea Bollini
CILEA, http://www.cilea.it
Anna Larsson ha scritto:
Hello!
Does anyone know how to add a new resource type that appears in the first list when you click on the "new" button?
I have added a lot of resource types (in the opencms-modules.xml file) that appears when I select the "structured content" option. But I have too many so I want to devide them into different groups of structured content. Can that be done?
Best regards,
Anna
________________________________
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070221/494ef49f/attachment.htm>
More information about the opencms-dev
mailing list