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

Yuri <[email protected]>
Newsgroups gmane.comp.web.zope.italian
Message-ID <[email protected]>
Fabrizio Reale wrote:
> 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
>
>   

Si, ma il template del widget di tipo immagine rimane lo stesso, e 
quindi non cambia il risultato :)
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.