ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Help? Trying to create a search with custom fields/checkboxes

November 09, 2012 1:01pm

Subscribe [4]
  • #1 / Nov 09, 2012 1:01pm

    Compass Media

    14 posts

    I have a site that has Hotel listings. I have a channel setup to make each entry a hotel listing.  Within this channel I used the check boxes in the custom fields in order to address amenities. Non-smoking/pool/breakfast etc. I used the check boxes because i wanted to display the associated amenities with the hotel in the detail template.

    What I want to accomplish is creating a simple search of amenities using check boxes or even a drop down (as long as it can be a multi-select).  I have been looking into using the native EE search, or even Low Search and Super Search.  But it seems like those are all too complicated for what I am trying to achieve.  It seems that there is an easy way to do this, I just can’t see it yet.

    I have looked everywhere on the help docs, tried numerous versions of the search code, researched online…but still just can’t wrap my head around it.

    Any ideas or help would be greatly appreciated.

    Thnks 😊

  • #2 / Nov 16, 2012 2:01pm

    Rob Allen

    3114 posts

    Dynamic paramaters can come in useful for this type of search - http://ellislab.com/expressionengine/user-guide/modules/channel/dynamic_parameters.html

    I’ve done something very similar with Low Search as well (filtering on custom fields) - along with Low’s Low options addon - http://devot-ee.com/add-ons/low-options - for making adding field data to form easy.

  • #3 / Nov 26, 2012 4:49pm

    e-man

    1816 posts

    You may want to have a look at Solspace’s super search http://www.solspace.com/software/detail/super_search/ for this.
    Here’s a good tutorial that describes the kind of functionality you seek http://blog.aaronmbushnell.com/post/23434803999/creating-an-ajax-filter-using-solspace-super-search

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases