29 Aug
2003
29 Aug
'03
1:55 p.m.
martin f krafft wrote:
also sprach Chris Withers <chrisw@nipltd.com> [2003.08.28.1134 +0200]:
Why do you look in the REQUEST for something called 'news' first?
I don't know, Plone does it that way.
Interesting ;-) If you change your code to the following, what gets output: <metal:block define-macro="box" tal:define="results python:request.get('news', here.portal_catalog.searchResults( ... ));:> <tal:block repeat="obj results"> <span tal:replace="obj/getPath" /><br> <span tal:replace="obj/meta_type" /><br> <span tal:replace="obj/portal_type" /><br><br> </tal:block> </metal:block> cheers, Chris