[Zope-PTK] automatically creating members

Tres Seaver tseaver@palladion.com
Mon, 08 May 2000 00:05:08 -0400


Steve Alexander wrote:
> 
> Hi Tres,
> 
> Tres Seaver wrote:
> >
> > Here is a small patch to make PTK-against-LoginManager work
> > as expected:
> >
> > Index: PersistentUserSource.py
> > ===================================================================
> > RCS file: /cvs-repository/ZopePTK/PTKDemo/PersistentUserSource.py,v
> > retrieving revision 1.4
> > diff -u -r1.4 PersistentUserSource.py
> > --- PersistentUserSource.py     2000/03/03 17:33:06     1.4
> > +++ PersistentUserSource.py     2000/05/02 19:10:02
> > @@ -82,6 +82,10 @@
> >      def getHomeUrl(self):
> >          return self.getPortal().Members[self.getUserName()].absolute_url()
> >
> > +    def get_toolbox_actions(self, klass=None):
> > +        """Hmmm, fake this for now."""
> > +        return self.toolbox_actions()
> > +
> >      def toolbox_actions(self):
> >          """Implements the Toolbox Action Provider interface"""
> >          return [
> 
> Quick question -- are you using PTK against the latest
> LoginManager, or
> against the LoginManager that is in the ZopePTK CVS tree?

I'm using the one in the ZopePTK CVS -- the newer one doesn't play nice
with PTK, and I didn't have time to work that out.

Tres.