Previously Héctor Velarde wrote:
> Im using the following code in propertiestool.xml:
> 
> <?xml version="1.0"?>
> <object name="portal_properties" meta_type="Plone Properties Tool">
>   <object name="navtree_properties" meta_type="Plone Property Sheet">
>     <property name="default_page_types" type="lines">
>       <element value="Google Video" />
>     </property>
>   </object>
> </object>

There are a few issues with that snippet:

- please do not specify the meta_type, that should only be done when
  initially creating the tool. You don't want your product to override
  the meta_type there.

- you are missing a purge="False" on the property. Without that you
  would replace the list of default_page_types entries instead of adding
  one to it.

> 2. my content type is not being registered as "linkable" in Kupu and I 
> don't know where to look for an example of how to do this using GS.

I'm not sure you can, the kupu GS XML handling code is a but suboptimal
and does not handle anything except a complete kupu configuration iirc.

Wichert.

-- 
Wichert Akkerman <[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to