Hi Paul,
On 16.06.2008 15:25 Uhr, Paul Gödicke wrote:
> [...] All objects should be visible
> with the review states "published" and "visible". I thought at following
> solution by changing ecl_view but without success. What's wrong with it?
>
> <fieldset style="float: right; margin-left: 0.5em; margin-top: 0;"
> tal:define="externalRes here/getAvailableResources;
> searchPath python: '/'.join(here.getPhysicalPath());
> localRes python: here.portal_catalog.searchResults(
> path={'query':searchPath, 'depth':1,},
> sort_on='getObjPositionInParent',
> review_state='visible' or 'published');"
> tal:condition="python: externalRes or localRes"
> >
I checked out your approach and it works. Is your Zope-instance running
in debug-mode? If not, have you restarted Zope after changing
'ecl_view.pt'?
Greetings
Mario
--
Dipl.-Wirtsch.-Inf. Mario Amelung <[EMAIL PROTECTED]>
Otto-von-Guericke-University Magdeburg WDOK Research Group
_______________________________________________
eduComponents mailing list
[email protected]
https://listserv.uni-magdeburg.de/mailman/listinfo/educomponents