<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Thomas for the link. It is very useful.<br>
However, I think the configuration in OCMS 6.0 is a bit different from
that link. I finally needed to modify only on opencms-modules.xml in
the section <resourcetypes> and <explorertypes><br>
<br>
The added sections looks like this.<br>
<br>
            <resourcetypes><br>
...<br>
                <type
class="org.opencms.file.types.CmsResourceTypeXmlContent"
name="heinz_news" id="28"><br>
                    <param
name="schema">/sites/default/heinz/heinz_news.xsd</param><br>
                </type><br>
            </resourcetypes><br>
            <explorertypes><br>
...<br>
                <explorertype name="heinz_news"
key="fileicon.heinz_news" icon="xmlcontent.gif"
reference="xmlcontent"><br>
                    <newresource page="structurecontent"
uri="newresource_xmlcontent.jsp?newresourcetype=heinz_news"
order="28"/><br>
                    <accesscontrol><br>
                        <accessentry
principal="GROUP.Administrators" permissions="+r+v+w+c"/><br>
                        <accessentry
principal="GROUP.Projectmanagers" permissions="+r+v+w+c"/><br>
                        <accessentry principal="GROUP.Users"
permissions="+r+v+w+c"/><br>
                    </accesscontrol><br>
                </explorertype><br>
            </explorertypes><br>
<br>
It seems to work fine. However I ran into another minor problem. The
wizard doesn't recognize the new resource name and shows the new
resouce type as "??? fileicon.heinz_news ???". Do you know how to fix
this? (I have attached a screenshot here, hope it is not too large)<br>
<br>
Thanks.<br>
Saranyu L.<br>
<br>
<img src="cid:part1.07030801.02020406@cmu.edu" alt=""><br>
<br>
<br>
<br>
Thomas Maerz wrote:
<blockquote cite="mid84d5q1ii2m.fsf@gmx.de" type="cite">
  <pre wrap="">Saranyu Lavanyakul <a class="moz-txt-link-rfc2396E" href="mailto:saranyu@cmu.edu"><saranyu@cmu.edu></a> writes:

  </pre>
  <blockquote type="cite">
    <pre wrap="">How to add my new XSD to the resource type that I can choose in the menu 
"new --> stuctured content"
Or do I have to put it manually in the opencms-modules.xml
    </pre>
  </blockquote>
  <pre wrap=""><!---->
<a class="moz-txt-link-freetext" href="http://www.rueth.info/articlemanagement-documentation/opencms6/article_0005.html#section2">http://www.rueth.info/articlemanagement-documentation/opencms6/article_0005.html#section2</a>


Regards,
Thomas



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a class="moz-txt-link-freetext" href="http://mail.opencms.org/mailman/listinfo/opencms-dev">http://mail.opencms.org/mailman/listinfo/opencms-dev</a>

  </pre>
</blockquote>
<br>
<br>
</body>
</html>