We would like to pay for customization

Home Forums Product Support Forums Ajax Search Pro for WordPress Support We would like to pay for customization

This topic contains 21 replies, has 2 voices, and was last updated by txtfox1 txtfox1 8 years, 7 months ago.

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #7489
    txtfox1
    txtfox1
    Participant

    We would like to pay for customization like this
    Before and After.

    The search is on the main page and below the lessons on this page:

    Rabbi Torah Lessons

    If you cannot do it can you point us in the rt direction – we really want to use this plugin as its a great solution – but we need to be able to customize the look like this.

    Attachments:
    You must be logged in to view attached files.
    #7504
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Unfortunately I cannot accept customization requests.

    If you update the plugin to the latest version (4.7) it will allow you to change the layout of the category/term selectors to radio buttons: https://i.imgur.com/xJ6ZpnC.png

    That should solve one of your layout requests. If the “affiliation” and “lesson types” are taxonomies, you can select to display them on the Frontend Search settings -> Taxonomy Terms panel.

    The layout of the category and taxonomy selectors is printend in this file: wp-content\plugins\ajax-search-pro\includes\views\asp.shortcode.categories_terms.php

    However I do not recommend changing it too much, it will affect the search process as well, be very careful.

    Best,
    Ernest Marcinko

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


    #7546
    txtfox1
    txtfox1
    Participant

    As you see on the front page I changed the search Cats and tags to radio buttons
    GREAT! Is there anyway to have the search show WITHOUT having them click on the search terms [try these] below in orange – so when the check the box it populates w/o typing in the search… as you see they are just doubled Also can we make no choice on both as default vs having a default choice.?

    Thanks again..

    #7549
    txtfox1
    txtfox1
    Participant

    Also it seems not to be searching when looking on ipad or iphone… any ideas what that could be?

    #7551
    txtfox1
    txtfox1
    Participant
    You cannot access this content.
    #7554
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    The issue is when you try the domain without the www, but the requests are referring back to non-www version. Check the error console: https://i.imgur.com/tCNWHQN.png

    I have tried on mobile devices and desktop browser as well, but only the http://www... version is working. You might need to set a .htaccess rule or a DNS policy to either redirect to the www subdomain version at all times or vice-versa.
    It is not permitted to make ajax requests, nor any other ones from subdomains to TLD: https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
    The easiest solution (this is what I’m using) is to redirect everything to www via .htaccess.

    Also, you can allow the search to accept empty phrases:

    1. Put this function into the functions.php file in your active theme directory. It’s located in wp-content/themes/theme-name/functions.php

    add_filter("asp_final_phrases", "asp_add_empty_phrase", 1, 1);
     
    function asp_add_empty_phrase($phrases_array) {
        if ( empty( $phrases_array ) )
            return array("");
        return $phrases_array;
    }

    2. Allow the plugin to trigger the search with 0 characters entered and triggering when facet changes: https://wp-dreams.com/wp-content/uploads/2016/01/23/admin/7402/admin/kb_asp_css2.png?8a

    Best,
    Ernest Marcinko

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


    #7556
    txtfox1
    txtfox1
    Participant

    Thank you for that… I just implemented both [not .htacces yet]
    how do we choose no default on those radio options so they have to choose to auto populate.
    It is not working in the widget area…

    Rabbi Torah Lessons

    It also doesn’t seem like its pulling correctly… maybe settings… but it def works better towards what we need.

    is there anyway to turn off the search form and just have the radio’s?

    • This reply was modified 8 years, 7 months ago by txtfox1 txtfox1.
    • This reply was modified 8 years, 7 months ago by txtfox1 txtfox1.
    #7558
    txtfox1
    txtfox1
    Participant

    sorry for the questions…

    aside you have made an AMAZING plugin and thanks for the support…

    #7560
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    There is a knowledge base article available on how to hide the search and use the filters only: https://wp-dreams.com/knowledge-base/how-to-use-filters-only-and-hide-the-search-bar/

    For radio buttons you should consider experimenting with the category/term logic on the Frontend search options -> Advanced panel: https://i.imgur.com/ZE08vut.png

    Maybe a different logic configuration suits your needs better.

    Best,
    Ernest Marcinko

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


    #7562
    txtfox1
    txtfox1
    Participant

    Is it possible to set the RADIO buttons to horizontal vs vertical to save space [per for search form?]

    eg on the front page vertically it takes too much space. Not sure if that styling would kill the search as you said earlier.

    #7568
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    You could try a custom CSS like:

    .searchsettings br {
        display: none;
    }
    
    .searchsettings fieldset {
        width: 400px !important;
    }
    
    .searchsettings .asp_label {
        width: 200px !important;
    }

    This should order them into 2 somewhat equal columns, so half of the space is enough.

    Best,
    Ernest Marcinko

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


    #7590
    txtfox1
    txtfox1
    Participant

    how do we choose no default on those radio options so they have to choose to auto populate.
    Also the search seems to be not working correctly on mobile. It seems to default to a category even after the switch

    #7591
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I got the exact same results on every mobile device as on my desktop, it must have been only a caching issue.

    There is no option to not have a default category value, but you can change 1 line of code to reset it.

    For categories:
    Open wp-content\plugins\ajax-search-pro\includes\views\asp.shortcode.categories_terms.php and go to line 94, there should be this:

    $selected = $cat->term_id == $style['default_category_selected'];

    change it to

    $selected = false;

    For tags:
    Open wp-content\plugins\ajax-search-pro\includes\views\asp.shortcode.post_tags.php and go to line 93, there should be this:

    <?php echo in_array($_sftag->term_id, $_sel_tags) || $k == 0 ? ' checked="checked"' : '' ; ?>>

    change that to simply:

    >

    That should do the trick.

    Best,
    Ernest Marcinko

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


    #7592
    txtfox1
    txtfox1
    Participant

    I made the changes but I dont see the change.

    • This reply was modified 8 years, 7 months ago by txtfox1 txtfox1.
    #7597
    txtfox1
    txtfox1
    Participant

    The code you gave above to us did not work?

    Any other solutons so they arent set to default?

Viewing 15 posts - 1 through 15 (of 22 total)

You must be logged in to reply to this topic.