Re: [ZIZope] Madifica template di view con GenericPloneContent]

Fabrizio Reale <[email protected]>
Newsgroups gmane.comp.web.zope.italian
Message-ID <[email protected]>
Alle venerdì 30 novembre 2007, Yuri ha scritto:
> Salve,
>
>  come modifico il template di view di default di *GenericPloneContent*?
> Ho visto che setta base_view come template, ma base_view poi richiama
> altre macro e mi sono perso :D
>
> Quello che vorrei fare è aggiungere una preview alle immagini con
>
>                              <img tal:replace="structure
> python:image.tag(scale='preview')"/>

GPC usa le normali viste degli altri content type.
Vai in portal_types e cambia il template del tuo contenuto con quello che 
preferisci.

Fabry

-- 
Fabrizio Reale                               [email protected]
Redomino S.r.l.                 Largo Valgioie 14 - 10146 Torino - Italy
Tel: +39 011 7499875 - Fax: +39 011 3716911     http://www.redomino.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.