CG User Directory - Searching All Fields?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
tallphil
Forum Members
Forum Members
Posts: 20
Joined: Sat Jan 30, 2010 8:01 pm
Location: Cambridge, UK

CG User Directory - Searching All Fields?

Post by tallphil »

Hi everyone,

I've got a list of members using the CG User Directory summary template, and I'd like to be able to search all of the fields for a search term. At the moment, all I can figure out is how to search one user property at a time for a search term (eg. just username, not username, interests and description).

Am I missing something?

Cheers,

Phil
User avatar
tallphil
Forum Members
Forum Members
Posts: 20
Joined: Sat Jan 30, 2010 8:01 pm
Location: Cambridge, UK

Re: CG User Directory - Searching All Fields?

Post by tallphil »

For anyone who is interested, I got around this in a bit of a nasty work-around... I outputted all of the information that I wanted to be able to search into the table, and hid the extra stuff using css display:none;. I then used jQuery UI to do a dynamic search through the table.

The end result works nicely, but the page load is obviously much larger, and it couldn't work for larger numbers of users (or more complete profiles)...
Post Reply

Return to “Modules/Add-Ons”