2

on Plone, tiles are nothing but Zope browser views; we were wondering if it is possible to declare/use different templates for a tile on an simple way.

according to plone.tiles documentation you can override a template for a different context.

<plone:tile
    name="sample.persistenttile"
    template="override.pt"
    permission="zope.Public"
    for="*"
    layer=".interfaces.IMyLayer"
    />

should we need to implement a way to mark the tiles with some interface for this? is there a different/easier solution?

4

0 回答 0