12 Oct 2006 23:58
Re: [PloneDavis-Discuss] archetype as the default page
Using the ZMI: portal_properties/site_properties . Look for
default_page_types.
Typically, Extensions/Install.py would set this up with code like (from
RichDocument):
siteProperties = getattr(propsTool, 'site_properties')
# Add to default_page_types
defaultPageTypes =
list(siteProperties.getProperty('default_page_types'))
if 'RichDocument' not in defaultPageTypes:
defaultPageTypes.append('RichDocument')
siteProperties.manage_changeProperties(default_page_types =
defaultPageTypes)
Charles McLaughlin wrote:
> I'm sure I've read how to do this, but I can't remember where.
>
> I created an archetype, but when I try to "change content item as
> default view" it isn't in the list. Where can I add my archetype to the
> list of allowed types?
>
> Thanks,
> Charles
>
--
--
______________________________________________________
(Continue reading)
RSS Feed