Pregunta

I want to override Plone's contact-info template in a diazo based product. The contact-info is a .cpt (Custom Form Controller Template).

The recommended approach to customize .pt files for Plone 4 is to use z3c.jbot.

Is it possible in diazo to override .cpt files in a similar way like .pt files?

¿Fue útil?

Solución

I'm assuming your "diazo-based product" is a design for Plone. The answer is that yes, that product can override the cpt, and the best way to do that is to use z3c.jbot.

Diazo in itself has no possibility to override templates. It works purely on the HTML that the template renders to. But there isn't any problems in including both a Diazo-based design and other features such as template overrides in the same product.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top