Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users

contributors syntax help

 

 

Bricolage users RSS feed   Index | Next | Previous | View Threaded


acaul at rand

Jul 18, 2008, 2:01 PM

Post #1 of 2 (201 views)
Permalink
contributors syntax help

I have a name, for example Ashlee Caul, ,and I want to find the
contributor with lname Caul and fname Ashlee. I do not know whether
that contrib exists or not. In a template, how can I search for a
contrib by name?

__________________________________________________________________________

This email message is for the sole use of the intended recipient(s) and
may contain confidential information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message.


david at kineticode

Jul 21, 2008, 10:44 AM

Post #2 of 2 (172 views)
Permalink
Re: contributors syntax help [In reply to]

On Jul 18, 2008, at 14:01, Ashlee Caul wrote:

> I have a name, for example Ashlee Caul, ,and I want to find the
> contributor with lname Caul and fname Ashlee. I do not know whether
> that contrib exists or not. In a template, how can I search for a
> contrib by name?

my $grp = Bric::Util::Grp::Person->lookup({ name =>
$contrib_type_name });
my $contrib = Bric::Util::Grp::Parts::Member::Contrib->list({
grp => $grp,
fname => 'Ashlee',
lname => 'Caul',
});

HTH,

David

Bricolage users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.