Bill Anderson wrote:

>
> I use, and recommend the use of a ZPattern trigger. You can get it by
> downloading the DataSkins product. This way, whenever a member is
> modified, it automatially updates/creates it's entry in the catalog.
> Just be sure to specify MemberCatalog :)

To expand on what Bill said:

Stick this in a SkinScript method in your Membership folder, on the Data Plug-Ins tab 
of err... Users perhaps? User Sources?
You should be able to work it out. (I don't have a live LoginManager to hand right 
now.)

WHEN OBJECT ADDED CALL
MemberCatalog.catalog_object(self, _.string.join(self.getPhysicalPath(),'/'))
WHEN OBJECT DELETED CALL 
MemberCatalog.uncatalog_object(_.string.join(self.getPhysicalPath(),'/'))
WHEN OBJECT CHANGED CALL 
MemberCatalog.uncatalog_object(_.string.join(self.getPhysicalPath(),'/')),
MemberCatalog.catalog_object(self, _.string.join(self.getPhysicalPath(),'/'))

--
Steve Alexander
Software Engineer
Cat-Box limited


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to