<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Pablo,<br>
<br>
If I understand, you want to take off some options from contextual
menu. I think that it would be better not to change them from generic
"xmlcontent" opencms-workplace configuration but instead adding to your
module in opencms-modules.xml. For instance, you define new type from
xmlcontent skeleton and you manager your custom menu entries within.<br>
<br>
Regards,<br>
<br>
Alessio<br>
<br>
Pablo Siviero wrote:
<blockquote cite="mid:001001c83d97$08fbb9d0$0a690a0a@globant.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
pre
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
span.url1
{font-family:Verdana;
color:#444444;
text-decoration:none none;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<div class="Section1">
<pre><font face="Courier New" size="2"><span style="font-size: 10pt;">Hi all, I’m trying to remove some default properties for a resource type. <o:p></o:p></span></font></pre>
<pre><font face="Courier New" size="2"><span style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
<pre><font face="Courier New" size="2"><span style="font-size: 10pt;">Removing them from “xmlcontent” definition at opencms-workplace is not a solution as I want that properties to remain for the other resource types pointing to it. <o:p></o:p></span></font></pre>
<pre><font face="Courier New" size="2"><span style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
<pre><font face="Courier New" size="2"><span style="font-size: 10pt;">I tried to copy the “xmlcontent” definition, changed its name to “noprop” and pointed the resource type to my new explorertype. All the actions work (publish, touch, copy, etc) but when I try to edit it, OpenCms doesn’t find an editor, throwing “org.opencms.workplace.CmsWorkplaceException: Cannot find valid editor for the file.”<o:p></o:p></span></font></pre>
<pre><font face="Courier New" size="2"><span style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
<pre><font face="Courier New" size="2"><span style="font-size: 10pt;">Any idea? Thanks in advance.<o:p></o:p></span></font></pre>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Pablo.</span></font><o:p></o:p></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></pre>
</blockquote>
</body>
</html>