Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
10/14/2016 at 11:39 am #395811
It appeared at the bottom of the list of results… I assume that the results of a search are alphabetical. Is it possible to have results sorted by a custom rank? Like I do for the main directory itself?10/14/2016 at 11:40 am #395812
Or at least order by Organization first then Individual?10/14/2016 at 11:55 am #395815
The weighting/scoring is applied by the database. In this specific scenario it is at the end because the filter adds its results to the “core” search results. It is not possible to apply a custom order on results in as far as the weighted score from the db is concerned.
Now, that said…
What you could do is alter the snippet I gave and perform a custom query taking the entry ID’s from the $scored array to sort them however you want. So you could order by type and alphabetically within that order. I do not have any custom code laying around like the snippet I gave you to accomplish this, so, it would custom coded.10/14/2016 at 12:00 pm #395816
So, the other problem I mentioned where you said it was a bug… Here’s an example –
Being inside the liquor-stores category and searching for ‘yoga’ should bring me the results for –
Is this the bug or is there maybe a way to add a snippet to make that change? This will cause major problems if people see ‘no results’ unless they are on the main directory page.10/14/2016 at 1:00 pm #395856
re: Is this the bug or is there maybe a way to add a snippet to make that change?
Yes, this is a bug. The search should be on the root and not in the category tree. There is no way to fix this with a snippet. I have to fix the logic so the form action attribute is properly set to the page root when in the category tree. This change will require some testing to make sure I do not break the other logic involved. I will not be able to get to this until next week because of the complexity involved.11/16/2016 at 11:02 am #400077
Actually this is not a bug, rather a feature which allows users to search within categories or with the Department, Country, etc permalinks with keywords.
I did release 8.5.29 which did always search from the directory root but that broke the search for many other sites that were using it this way to allow their users to finely filter the results. So, I’ll have to revert this change this week.
I believe what you can do is add
force_home=trueto your existing shortcode on this page and you’ll get the results you are seeking. It is not it’s intended purpose but I think with your setup it’ll make it work just fine.
After I release 8.5.30, let me know if that works for you or not. If not, I am sure I can come up with alternative solution that will.11/17/2016 at 8:57 pm #400281
Thanks for trying! I have had to disable both the category drop-down, the search bar and can’t use the enhanced category grid due to a bunch things related to how I need the directory system to work.
I have instead created a separate way to deal with the categories & locations (also categories but in a separate menu). I have made significant style changes as well…
So, I don’t think the next update will negatively affect me at all. Thanks for your help!
and here’s an example how we’ll be featuring businesses in our guide/magazine sections:
We only include those businesses that have paid in these sections, then link off to the directory for others who have been ranked based on subscription level. Seems to work so far…11/18/2016 at 9:38 am #400350
MNo, it should not affect you.
Great looking directory!
You must be logged in to reply to this topic.