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

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: Search bar not working with Force Login plugin #8233
    fudfud
    Participant

    Hello,

    Sounds good!

    in reply to: Uncheck all boxes in filter #8230
    fudfud
    Participant

    Hello,

    I think for now we have decided to put this issue off a for a little bit. Will let you know later if we decide to come back to it!

    Thanks!

    in reply to: Uncheck all boxes in filter #8185
    fudfud
    Participant

    I was wondering if there was any update on my case.

    All I want is for all of the results to display if there is no filter checked, and if there is every filter checked. The rest of the tool should work as usual. Please let me know if this is possible. Thanks.

    in reply to: Uncheck all boxes in filter #8177
    fudfud
    Participant

    So I made those changes and this is what is happening right now:

    1) If user is searching in the header with all the filters checked, and they hit enter, the search is redirected to the Catalogue page however no results show up because no filters on the catalogue page are checked. (But we would ideally want results to show)

    2) If user loads the Catalogue page directly, all the filters are unchecked and no results are shown. (But we would want all content to show)

    I guess our ideal case would be:

    When no filters are checked or when all filters are checked, we would want all content to be shown in the results box. The search should also search in all content even though nothing is checked.

    • This reply was modified 10 years, 2 months ago by fudfud.
    in reply to: Uncheck all boxes in filter #8172
    fudfud
    Participant

    So I tried putting that line in the code, and then instead of putting &ignore_op=1 parameter to the redirection URL of the header, I just turned the redirect on for the catalogue search instance appended it to that one.

    Unfortunately it did not work for me 🙁

    • This reply was modified 10 years, 2 months ago by fudfud.
    in reply to: Uncheck all boxes in filter #8167
    fudfud
    Participant

    Thanks for your response.

    If I have a separate search form (not the one in the header) will this code still work?

    For example, on my catalogue page, I have a search and filter form. The filters are set to be visible and this is where I want all of them to be unchecked but still have all the content in the results box.

    Hope that makes sense! I will try your fix in the meantime.

    in reply to: Uncheck all boxes in filter #8153
    fudfud
    Participant

    Hi,

    I was thinking maybe I have another version of the plugin? Lines 589 to 594 are as follows for me:

    if ( ! isset( $options[‘categoryset’] ) || $options[‘categoryset’] == “” ) {
    $options[‘categoryset’] = array();
    }
    if ( ! isset( $options[‘termset’] ) || $options[‘termset’] == “” ) {
    $options[‘termset’] = array();
    }

    Thanks!

    in reply to: Uncheck all boxes in filter #8141
    fudfud
    Participant

    Hello,

    So I took a look at the search_content.class.php file, and line 590 isn’t an empty line for me..

    in reply to: Uncheck all boxes in filter #8138
    fudfud
    Participant

    Hello,

    Thanks for your response.

    Yes that was the problem! If both the “Show description (content) in results?” and “Display the description context?” options are both set to on, then the entire description shows up, but then if I set “Display the description context” to off, then it works fine.

    Thanks again!

    in reply to: Uncheck all boxes in filter #8136
    fudfud
    Participant

    You can actually disregard 3), I just created custom taxonomy.

    Also, for 2), the content that shows up is actually from a custom field we created with the ACF plugin.

    Hope that helps.

    in reply to: Uncheck all boxes in filter #8124
    fudfud
    Participant

    Hi,

    Thanks for your response, I’ve actually figured it out! A couple of things though:

    1) Just something I discovered, I would like to have all the checkboxes unchecked initially, which I’ve been able to do, but on my page I still would like the results box to be autopopulated with content.

    The way I have it right now, the search and results are in two columns. When the user loads the page, content should show in the results box even though no check boxes are clicked. Then when a user clicks a checkbox, the results box should update accordingly. When I looked at the settings, I saw that the autopopulate option DOES look at the front end options, which means that if I set the boxes to be unchecked, the results box will be empty. Is there a work around for this?

    2) When I do check the boxes so that the results box is populated, the entire content of the post shows up as well. When I changed the settings in Layout Options -> Results layout -> Show description (content) in results? to True, and changed the length to 100, it still displayed the entire description. This behaviour was weird as it was working normally before.. :/

    And last thing (hopefully):

    3) I currently have many categories and sub-categories for a post type, and right now it seems as if they are being registered all as one taxonomy. So, if I include all of the categories and subcategories to be included in the filter, they will all be checkable and in heirarchical format. However, what I would like is to have the category just be a heading and the subcategories be clickable. Is there a way to do this, or will I have to create custom taxonomy?

    Thank you so much, and sorry for all the text!

    fudfud
    Participant

    Awesome, it works! Thanks very much.

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