This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Dropdown

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4572
    beesitesbeesites
    Participant

    hello,

    1.
    i’m setting up a product info base. for the homepage i need the search form with a lot of filter options. when i submit the search, the user should be directed to a search page where i can continue to filter the results. is that passible with your plugin?

    2.
    the drop down items in your search form appear to be no “real” drop downs, can i change that?

    3.
    can i replace the range slider by a simple numeric input field?

    i would really appreciate your help with these issues. best regards
    philipp

    #4574
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    1. This is unfortunately not possible.

    2. Could you please explain what do you mean by no “real” drop down?

    3. Only by adding a few lines of custom CSS and altering the code.
    Add this custom CSS to make the slider elements invisible:
    [code]
    .searchsettings .asp_noui_lu {
    display: none !important;
    }

    .searchsettings .noUi-target {
    display: none !important;
    }

    .asp_custom_f input[type=text] {
    width: 30%;
    }
    [/code]

    Then open up the plugins/ajax-search-pro/includes/views/asp.shortcode.custom_fields.php file and go to lines 94-95, where the beginning of those lines are:

    [code]
    <input type="hidden" …
    <input type="hidden" …
    [/code]

    Change the input type to text on beginning of those lines, like this:

    [code]
    <input type="text" …
    <input type="text" …
    [/code]

    Save the file. Then you should see text fields instead of the range slider.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.