[Zope] long name as ID
Hi all, I have developed an archetype based product named msf_folder, and it stores the id with a very long string like msf_folder.2006-05-09.8558117482, instead of the title I have written. Is this a normal behaviour? How can I change the ID to the title I have given it? Thanks Sergio ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] about restricting addable types in Plone
Hi all, I am working with Plone 2.1.2, Zope 2.8.6 and python 2.3.5. I would like to know if there is a way to restrict addable types to a folderish object programmatically. What I need is to allow adding a certain type of items and not otheres depending on the value of one field in my folderish object. For example, if the value of the field is "0", I can only add "News Item", if the value is "1", I can only add "File", and so on. Thanks! Sergio ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] to inherit from CMFDefault.NewsItem
Hi, In my development I need a product which is basicly like CMFDefault.NewsItem, but I need to add a Selection field (SelectionWidget). Is there a way of inheriting CMFDefault.NewsItem and just add what I need? Thanks, Sergio ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] About Archetypes
Does anybody know a good tutorial on how to write archetypes from scratch? Thank you very much! Sergio ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Problems with .po files
Hi, I am working in a Plone website, developing under windows, but publishing under linux. My problem is that the .po files containing my own translations work under windows, but they don't under linux, and I do not know if it is something that I am not doing correctly. Thanks, Sergio ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )