Archgenxml: unable to specify allowed_types

3 messages Options
Embed this post
Permalink
Mirto Silvio Busico-2 () Archgenxml: unable to specify allowed_types
Reply Threaded More More options
Print post
Permalink
Hi all,
I'm trying to create a product with archgenxml (it says "INFO  
ArchGenXML Version 2.5.dev-r11256")

I have three folderish objects: "collection" containing "issue"
containing "section".

The normal generation is ok: inside a collection I can add only an
issue, inside an issue I can add only a section.

Now I need to permit adding three standard types (document, image and
file) inside all three my objects.

I tried to add the tag "allowed_types" with the value "Document, Image,
File" but nothing happens.

In the generated product ./profiles/default/types the (as example)
collection.xml contains:


...
 <property name="allowed_content_types">
       <element value="issue"/>
 </property>

...

What I'm doing wrong?

Thanks
    Mirto

[mirtosilvio_busico.vcf]

begin:vcard
fn:Mirto Silvio Busico
n:Busico;Mirto Silvio
org:Busico Mirto Silvio
adr:;;Via Casiglion De' Pepoli 84;Roma;RM;00127;Italia
email;internet:[hidden email]
title:Dr.
tel;work:+39 333 4562651
tel;cell:+39 333 4562651
x-mozilla-html:TRUE
version:2.1
end:vcard



_______________________________________________
Product-Developers mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/product-developers
Mirto Silvio Busico-2 () [SOLVED] Re: Archgenxml: unable to specify allowed_types
Reply Threaded More More options
Print post
Permalink
Replying to myself: the tag name is "allowed_content_types"

Regards
    Mirto


Mirto Silvio Busico ha scritto:

> Hi all,
> I'm trying to create a product with archgenxml (it says "INFO  
> ArchGenXML Version 2.5.dev-r11256")
>
> I have three folderish objects: "collection" containing "issue"
> containing "section".
>
> The normal generation is ok: inside a collection I can add only an
> issue, inside an issue I can add only a section.
>
> Now I need to permit adding three standard types (document, image and
> file) inside all three my objects.
>
> I tried to add the tag "allowed_types" with the value "Document,
> Image, File" but nothing happens.
>
> In the generated product ./profiles/default/types the (as example)
> collection.xml contains:
>
>
> ...
> <property name="allowed_content_types">
>       <element value="issue"/>
> </property>
>
> ...
>
> What I'm doing wrong?
>
> Thanks
>    Mirto
> _______________________________________________
> Product-Developers mailing list
> [hidden email]
> http://lists.plone.org/mailman/listinfo/product-developers
>  

[mirtosilvio_busico.vcf]

begin:vcard
fn:Mirto Silvio Busico
n:Busico;Mirto Silvio
org:Busico Mirto Silvio
adr:;;Via Casiglion De' Pepoli 84;Roma;RM;00127;Italia
email;internet:[hidden email]
title:Dr.
tel;work:+39 333 4562651
tel;cell:+39 333 4562651
x-mozilla-html:TRUE
version:2.1
end:vcard



_______________________________________________
Product-Developers mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/product-developers
Espen Moe-Nilssen () Re: Archgenxml: unable to specify allowed_types
Reply Threaded More More options
Print post
Permalink
In reply to this post by Mirto Silvio Busico-2
Some javascript/style in this post has been disabled (why?)
You will have to reinstall the product (if you havent).

Just to be sure: restart plone, add another plone instance, install the product and check. (check also /portal_types in the zmi

If you dont succed, try adding it here /portal_types and export at /portal_setup and compare your collection.xml with the one exported



Espen Moe-Nilssen
_______________________________________________

Author of Subskins III , build your own theme for Plone. Try it at:




Den 29. jul. 2009 kl. 11.34 skrev Mirto Silvio Busico:

Hi all,
I'm trying to create a product with archgenxml (it says "INFO  ArchGenXML Version 2.5.dev-r11256")

I have three folderish objects: "collection" containing "issue" containing "section".

The normal generation is ok: inside a collection I can add only an issue, inside an issue I can add only a section.

Now I need to permit adding three standard types (document, image and file) inside all three my objects.

I tried to add the tag "allowed_types" with the value "Document, Image, File" but nothing happens.

In the generated product ./profiles/default/types the (as example) collection.xml contains:


...
<property name="allowed_content_types">
      <element value="issue"/>
</property>

...

What I'm doing wrong?

Thanks
   Mirto<mirtosilvio_busico.vcf>_______________________________________________
Product-Developers mailing list


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