Re: Reihenfolge von Portlets (vererbt und context)

Stefan Antonelli <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <1233543209.15360.55.camel@burns>
Hallo Anne,

> ich haette sowas schon fertig da ... wenn interesse besteht, koennte ich
> das in den naechsten tagen mal in collective stellen ...

hast Du das in ein Package gegossen? Das konfigurierbar zu machen wäre
natürlich die feinste Lösung.

> nichtsdestrotrotz ist es im retriever eigentlich nur ne kleinigkeit:
> ---- schnipp ----
> 86                         if localManager is not None:
> 87                             # changed here
> 88                             new_list = [(CONTEXT_CATEGORY,
> currentpc.uid, a) for a in localManager.values()]
> 89                             new_list.reverse()
> 90                             for item in new_list:
> 91                                 categories.insert(0,item)
> ---- schnapp ----

Mir dürfte der statische Ansatz schon ausreichen - ich werd den Code
gleich mal testen.

Danke und Gruß, Stefan.



_______________________________________________
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.