On Tue, Dec 04, 2007, Raphael Ritz wrote: >Bill Campbell wrote: > >[..] > >>##code-section module-header #fill in your manual code here >>from Products.ATContentTypes.content.topic import ATTopic > >this is OK ... > >>##/code-section module-header >> >>... >>class ... >> >> ... >> allowed_content_types = ['CSFileBox', 'CSRequest', 'ATTopic'] > >but this should be 'Topic' instead. > Thanks Raphael. That works.
Should this then be the same as the ``portal_type'' in the class? I didn't get this from the Archetypes or ArchGenXML documentation. Does that mean that the import is not needed (asking before using the old learn-by-destroying methodology :-). Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 When you have an efficient government, you have a dictatorship. -- Harry Truman _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
