Closed yulmiro closed 8 years ago
could you please provide more information? what Plone version are you using?
Hello Plone 4.3.3 El 29/01/2015 18:37, "Héctor Velarde" notifications@github.com escribió:
could you please provide more information? what Plone version are you using?
— Reply to this email directly or view it on GitHub https://github.com/collective/collective.nitf/issues/109#issuecomment-72122999 .
that's pretty weird; as you can see here that piece of code is only called if the current item listed is a News Article and it has that attribute.
without further information I can't help you with this.
Hello, I am working with collective.nitf and while rendering the folder_summary_view view shows me the following error:
URL: /eggs/collective.nitf-1.0b3-py2.7.egg/collective/nitf/templates/folder_summary_view.pt Line 29, Column 23 Expression: <PythonExpr ( img_view.images())> Names: {'args': (), 'container': <ATFolder at /sala-de-prensa>, 'context': <ATFolder at /sala-de-prensa>, 'default': <object object at 0x7fe0047404e0>, 'here': <ATFolder at /sala-de-prensa>, 'loop': {}, 'nothing': None, 'options': {}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xd1311b0>, 'request': <HTTPRequest, URL=http://sala-de-prensa/folder_summary_view>, 'root':,
'static': <Products.Five.metaclass.DirectoryResource16 object at 0xa903790>,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x9775dd0>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>,
'view': <collective.nitf.browser.Folder_Summary_View object at 0xd29f190>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xd29f290>}
Module zope.tales.pythonexpr, line 59, in call
traceback_info: ( img_view.images())
Module , line 1, in
AttributeError: 'View' object has no attribute 'images'