We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Advanced Search by Keyword--Possible to limit by custom fields?

Development and Programming

Erik Kraft's avatar
Erik Kraft
2 posts
15 years ago
Erik Kraft's avatar Erik Kraft

I’m building a site for a large-ish art collection, where each individual piece of art will have an entry with a lot of custom fields for data about the piece (artist name, medium of work, subject matter).

The site needs an advanced search form where the user will be able to search by keyword or dropdown within these custom fields. So for instance, the ability to search the keyword “picasso” within a custom field called “artist_name” in a channel called “art_collection.” Or the ability to select “etching” from a “Media” dropdown, where the dropdown would be populated by values from a “medium” custom field.

Does anyone know if this is doable? This seems like it would be a common need for an advanced search form, but I’m not seeing anything obvious in the example. I might be thinking about this the wrong way.

Thanks for any assistance!

Erik

       
Rob Allen's avatar
Rob Allen
3,114 posts
15 years ago
Rob Allen's avatar Rob Allen

Have a look into Dynamic Parameters - http://ellislab.com/expressionengine/user-guide/modules/channel/dynamic_parameters.html

You can use this to select what values to get. It really filters results rather than a true search but it should give you what you’re looking to do.

       
Erik Kraft's avatar
Erik Kraft
2 posts
15 years ago
Erik Kraft's avatar Erik Kraft

Thanks Rob! I’ll give this technique a try.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.