[Product-Developers] SQLPASPlugin questions

Tim Knapp duffyd at kokorice.org
Fri Jul 4 04:50:13 UTC 2008


Hello again Hedley,

On Thu, 2008-07-03 at 18:15 +0200, Hedley Roos wrote:
> Tim Knapp wrote:
> > On Wed, 2008-07-02 at 21:39 +0200, Hedley Roos wrote:
> >> I'm sure we use a version that can indeed search. It is in our local
> >> Upfront SVN repo. Will check tomorrow and post back.
> > 
> > Yes please!!!!
> > 
> > Thanks,
> > Tim
> > 
> 
> Seems I was a bit hasty...
> 
> We do have a searchForMembers method which takes ZCatalog style 
> parameters, constructs an SQL query, and returns those members. 
> Unfortunately it is only designed to work for the prefs_users_overview 
> template. The normal searchForMembers that comes with PAS can query for 
> groups as well, so this one needs more work.
> 
> But it will work for prefs_users_overview if you tell the template to 
> use this searchForMembers.

I'd still be interested in seeing the code as it not only gives me a bit
of an example to start from but is also something my project could
benefit from. I'm also not too interested in groups anyway.

Thanks again,
Tim

> 
> H
> 
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers





More information about the Product-Developers mailing list