Re: Newsitems zweiter Kollektionen anzeigen

"Maik Derstappen, Derstappen IT" <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization Derstappen IT Consulting
Message-ID <[email protected]>
Florian Brinkmann schrieb:
> Hi,
>
> ok also ich habe jetzt einen eigenen View erstellt und diesen 
> zugeordnet. Ich sehe auch die enthaltenen collections in dem ordner, 
> aber die news-items innerhalb der collections nicht :-(
Versuch mal etwas in der Art in der Browser View Klasse:

    def get_homepage_content(self):
        """
        """
        query = dict()
        query["sort_on"] = "getObjPositionInParent"
        query["review_state"] = "published"
        items = self.context.queryCatalog(query)
        return items

ungetestet ;-)

Gruß Maik

-- 
========================================================================

Derstappen    I T  Consulting   Tel:         +49 ( 341 )   600  13  0 31
Zope/E-Mail/Backup/Monitoring   Mobil:       +49 ( 178 )   861  2    833
M a i k   D e r s t a p p e n   Fax:         +49 ( 180 ) 5 021 121 90 56
H e r l o ß s o h n s t r  12   Email:  [email protected]
0 4 1 5 5       L e i p z i g   Internet:    http://www.derstappen-it.de

========================================================================



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
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.