[Product-Developers] Re: problem with extending a content type

Raphael Ritz r.ritz at biologie.hu-berlin.de
Fri Mar 6 08:41:17 UTC 2009


Matej Drame wrote:
> Hello, guys
> 
> I want to show a different template for my custom event content type 
> (which extends the default event content type)
> --> this is a part of my configure.zcml:
> 
>     <browser:page
>         for="..interfaces.IMP_Event"
>         name="view"
>         class="Products.ATContentTypes.content.event.ATEvent"
>         template="mp_event_view.pt <http://mp_event_view.pt>"
>         permission="zope2.View"
>     />
> 
> 
> 
> --> As of now, the new custom type uses the template from the default 
> content type, not the one specified here.
> What am I doing wrong?

Did you also specify that as default view on the
"Factory Type Information" via the Types Tool?

Raphael



> 
> Thanks
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers





More information about the Product-Developers mailing list