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
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers


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

Reply via email to