Dropdown

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 9 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4572
    beesites
    beesites
    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 Marcinko
    Ernest 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:

    
    .searchsettings .asp_noui_lu {
       display: none !important;
    }
    
    .searchsettings .noUi-target {
       display: none !important;
    }
    
    .asp_custom_f input[type=text] {
      width: 30%; 
    }
    

    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:

    
    <input type="hidden" ...
    <input type="hidden" ...
    

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

    
    <input type="text" ...
    <input type="text" ...
    

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

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.