<HTML><HEAD>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type></HEAD>
<BODY dir=ltr bgColor=#ffffff text=#000000>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV><tal:block</DIV>
<DIV>   tal:define="our_url 
context/@@plone_context_state/canonical_object_url;</DIV>
<DIV>               
home_url context/@@plone_portal_state/portal_url;"</DIV>
<DIV>   tal:condition="python:our_url == home_url"> </DIV>
<DIV><div tal:define="presults 
python:context.portal_catalog(portal_type='News Item', path='/plone/news', 
sort_on='effective', sort_order='desc', limit=4, Subject='evidenza')"></DIV>
<DIV>                    
<div class="novita" tal:repeat="news python: presults[:3]" ></DIV>
<DIV>                   
</DIV>
<DIV>                   
<span tal:define="pobj python:news.getObject()"></DIV>
<DIV><h2 class="tileHeadline" id="news_home"></DIV>
<DIV>                    
<a href="/view" </DIV>
<DIV>                       
tal:attributes="href pobj/absolute_url" </DIV>
<DIV>                       
tal:content="news/Title"></DIV>
<DIV>                        
Event headline</DIV>
<DIV>                    
</a></DIV>
<DIV>                
</h2></DIV>
<DIV><!--</DIV>
<DIV>                   
<img class="tileImage" tal:replace="structure pobj/image_mini"  
/></DIV>
<DIV>--></DIV>
<DIV>                   
<br /></DIV>
<DIV>                   
<div tal:replace="structure pobj/CookedBody">This element is a 
comment.</div></DIV>
<DIV> </DIV>
<DIV>               
</span></DIV>
<DIV>                   
<div class="visualClear" ><!-- --></div></DIV>
<DIV> </DIV>
<DIV>                   
</div></DIV>
<DIV>                   
</div></DIV>
<DIV></tal:block>  </DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>Questo è il codice del custom 
main_template.</FONT></DIV>
<DIV><FONT size=3 face=Calibri>Una domanda posso nel main_templet importare 
architipo image in modo da usare il widget</FONT></DIV>
<DIV><FONT size=3 face=Calibri>forse in questo modo riesco a gestire l’ 
eccezione della non immagine</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=giacomo.spettoli@gmail.com 
href="mailto:giacomo.spettoli@gmail.com">Giacomo Spettoli</A> </DIV>
<DIV><B>Sent:</B> Monday, September 26, 2011 3:12 PM</DIV>
<DIV><B>To:</B> <A title=plone-plone-it@lists.plone.org 
href="mailto:plone-plone-it@lists.plone.org">plone-plone-it@lists.plone.org</A> 
</DIV>
<DIV><B>Subject:</B> Re: [Plone-IT] Show di immagine piccola 
condizionata</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">On 
26/09/2011 13:18, Zardetto Carlo wrote: 
<BLOCKQUOTE cite=mid:322A674F0EF645BC9A57917787787C0F@lancillotto type="cite">
  <DIV dir=ltr>
  <DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
  <DIV>Purtroppo non è così</DIV>
  <DIV> </DIV><PRE><FONT style="FONT-SIZE: 13.6pt">{'container': <PloneSite at /plone>,
 'context': <ATDocument at /plone/front-page>,
 'default': <object object at 0xb75c6538>,
 'here': <ATDocument at /plone/front-page>,
 'loop': {u'news': <Products.PageTemplates.Expressions.PathIterator object at 0x119dc5ec>},
 'nothing': None,
 'options': {'args': ()},
 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x1192950c>,
 'request': <HTTPRequest, URL=<A class=moz-txt-link-freetext href="http://www.sito.it/front-page/document_view">http://www.sito.it/front-page/document_view</A>>,
 'root': <Application at >,
 'template': <FSPageTemplate at /plone/document_view used for /plone/front-page>,
 'traverse_subpath': [],
 'user': <PloneUser 'carlo'>}</FONT></PRE><PRE> </PRE><SPAN 
  style="LINE-HEIGHT: normal; WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; FONT-FAMILY: ; WHITE-SPACE: normal; ORPHANS: 2; COLOR: ; WORD-SPACING: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" 
  class=Apple-style-span>
  <UL>
    <LI><FONT face="Times New Roman"><FONT style="FONT-SIZE: 13.6pt">Module 
    zope.tales.expressions, line 217, in __call__</FONT></FONT> 
    <LI><FONT face="Times New Roman"><FONT style="FONT-SIZE: 13.6pt">Module 
    Products.PageTemplates.Expressions, line 153, in _eval</FONT></FONT> 
    <LI><FONT face="Times New Roman"><FONT style="FONT-SIZE: 13.6pt">Module 
    zope.tales.expressions, line 124, in _eval</FONT></FONT> 
    <LI><FONT face="Times New Roman"><FONT style="FONT-SIZE: 13.6pt">Module 
    Products.PageTemplates.Expressions, line 80, in 
    boboAwareZopeTraverse</FONT></FONT> 
    <LI><FONT face="Times New Roman"><FONT style="FONT-SIZE: 13.6pt">Module 
    OFS.Traversable, line 301, in restrictedTraverse</FONT></FONT> 
    <LI><FONT face="Times New Roman"><FONT style="FONT-SIZE: 13.6pt">Module 
    OFS.Traversable, line 269, in unrestrictedTraverse<BR>__traceback_info__: 
    ([], 'image_mini')</FONT></FONT> </LI></UL><FONT face="Times New Roman"><FONT 
  style="FONT-SIZE: 13.6pt">AttributeError: image_mini (Also, the following 
  error occurred while attempting to render the standard error message, please 
  see the event log for full details: image_mini)</FONT></FONT> </SPAN><BR 
  class=Apple-interchange-newline></DIV></DIV><BR>
  <FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">_______________________________________________
Plone-IT mailing list
<A class=moz-txt-link-abbreviated href="mailto:Plone-IT@lists.plone.org">Plone-IT@lists.plone.org</A>
<A class=moz-txt-link-freetext href="https://lists.plone.org/mailman/listinfo/plone-plone-it">https://lists.plone.org/mailman/listinfo/plone-plone-it</A>
<A class=moz-txt-link-freetext href="http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html">http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html</A></PRE></BLOCKQUOTE><FONT 
size=-1><BR>verifica meglio il codice del tuo template (o dacci un pezzo più 
completo) perchè quel modo è giusto (e verificato).<BR></FONT><BR>Giacomo<BR><PRE class=moz-signature cols="72">-- 
Giacomo Spettoli

T: <A class=moz-txt-link-freetext href="http://twitter.com/giacomospettoli">http://twitter.com/giacomospettoli</A>
S: <A class=moz-txt-link-freetext href="http://careers.stackoverflow.com/giacomospettoli">http://careers.stackoverflow.com/giacomospettoli</A>
L: <A class=moz-txt-link-freetext href="http://linkedin.com/in/giacomospettoli">http://linkedin.com/in/giacomospettoli</A>
Company: <A class=moz-txt-link-freetext href="http://redomino.com">http://redomino.com</A>
Blog: <A class=moz-txt-link-freetext href="http://spettoli.com">http://spettoli.com</A></PRE>
<P>
<HR>
_______________________________________________<BR>Plone-IT mailing 
list<BR>Plone-IT@lists.plone.org<BR>https://lists.plone.org/mailman/listinfo/plone-plone-it<BR>http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html</DIV></DIV></DIV></BODY></HTML>