Re: Bestimmten Content-Typ im aktuellen Verzeichnis finden

Hartmut Goebel <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization Goebel Consult
Message-ID <[email protected]>
Hi Patrick,

> <tal:block define="artikel
> python:context.getFolderContents(contentFilter={'portal_type':'TYPE_NAME'},
> full_objects=True)"
> 
> ...
> 
> </tal:block
> 
> oder verstehe ich dich falsch?

Das funktioniert leider nicht, wenn der context z.B. ein "Document" ist.
In diesem Fall soll "MeinArtikel" natürlich im Folder gesucht werden.
Daher ja der letzte Fall mit dem aq_parent

-- 
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP, CSSLP

Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de

Monatliche Kolumne: http://www.cissp-gefluester.de/
Goebel Consult mit Mitglied bei http://www.7-it.de



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
smime.p7s (application/x-pkcs7-signature, 4.6 KB) - not displayed
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.