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.
Premium Support
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.
Free Support
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.
- This topic has 18 replies, 2 voices, and was last updated 10 years, 9 months ago by
Steven Zahm.
-
AuthorPosts
-
11/16/2015 at 11:56 am #355138
MV Times
ParticipantHi,
I have reviewed the custom sort post and still have question for our application.We have custom (numbered category id) lists on all of our directory pages. (See screenshot.)
Can you tell me how the sort by custom field works if we create custom fields?
For example, if our “custom field” is “Town”, will sorting by Town, reorder just that list by town or, will it pull up all
For example, does it sort the existing category ID list. Just Restaurants for example. OR, does it return all “Town” field content?
We have a lot! of listings and want to make sure this solution meets our needs.
Thank you so much for your help!
Patrick
11/16/2015 at 11:56 am #35513911/17/2015 at 8:28 am #355323MV Times
ParticipantHi Steve,
Must be a busy week. Can you let us know (at least) and ETA on a response for this ticket? We’d like to prove out the sorting process as soon as possible.
Thank you,
Patrick
11/17/2015 at 12:00 pm #355345Steven Zahm
Keymaster@ MV Times
re: Must be a busy week. Can you let us know (at least) and ETA on a response for this ticket?
Many answers come some day, most in under 24hours (unless its a weekend or holiday)… it has not been quite 24hrs, yet ;)
re: We have custom (numbered category id) lists on all of our directory pages. (See screenshot.)
I’ve looked at the screenshot… honestly, I can’t quite figure out what it is supposed to be showing me.
And, the link you gave for the custom sort post, that is a search link… is the link you are referring to this one?
http://connections-pro.com/support/topic/sort-by-custom-field/#post-335687
re: For example, if our “custom field” is “Town”, will sorting by Town, reorder just that list by town or, will it pull up all
Honestly… there is no way for me to tell you based on just the key name (town) of how it’ll sort. I’d need to know the values and what the shortcode is that you are using for the custom field sort. But is a very general statement, I believe fields which do not have the custom field of “town” will be excluded from the results.
Not sure if that helps or not… hope it does.
11/17/2015 at 12:12 pm #355347MV Times
ParticipantThis reply has been marked as private.11/17/2015 at 1:13 pm #355354Steven Zahm
Keymaster@ MV Times
The first thing I see…
‘order_by=’category|SORT_ACS,zipcode|SORT_DESC’`
You can not sort by category, you can only sort by the options lined in the doc page for the order_by shortcode option.
I suspect you are looking to group by category and sort the entries within that group. That is not possible. What you could attempt to do is add a shortcode for each category group you want to display on the page.
re: We would like the user to be able to sort this list by Town.
There is not a way for the user to sort the results. The only option is to allow the user to filter by city by enabling the permalink for the city… something I see that you’ve already done. Clicking a city name will limit the list to just the city being clicked. You could add the following to the *theme’s** custom CSS area so they are visually apparent that they are links:
#cn-cmap a { border-bottom-width: 1px; border-bottom-style: solid; }The theme does not make it very discoverable because links are not decorated differently from regular text. Another is is the theme seems to hide order lists and unordered lists. Not sure why one would do that… but this is why the clear search message box is empty. Adding the following to the theme’s custom CSS area will fix that:
ul#cn-search-message-list { display: initial; }Hope that helps!
11/18/2015 at 3:23 pm #355563MV Times
ParticipantThanks so much for your help.
We have tuned it to sort by Town using a select menu.
We have two category lists on a single page (Featured and Regular). Is there a way for only one of the lists to be sorted/filtered. When we select a particular town in our Regular list, it works for the master/long list, and for the smaller Featured list.
I’ve provided two screenshots. Hopefully I being clear enough.Thank you,
Patrick
Attachments:
You must be logged in to view attached files.11/19/2015 at 9:26 am #355642Steven Zahm
Keymaster@ MV Times
On the feature list, add
lock='trueto the shortcode. That should prevent the list from being filtered by the query.11/19/2015 at 10:20 am #355643MV Times
ParticipantThank you.
Here is my “Featured “Listings shortcode with the
lock='true'code in it:[connections category='644' |SORT_ACS,zipcode|SORT_DESC' template='cmap' page_limit='5' home_id='19413' lock='true']
I must be doing something wrong. As you can see by the screenshots, the Featured Listings remains filtered. (Empty)
Can you suggest a simplification/ordering of this shortcode. It may be too complicated/wrong.
Thank you, Steve,
PatrickAttachments:
You must be logged in to view attached files.11/19/2015 at 10:41 am #355648Steven Zahm
Keymaster@ MV Times
Your shortcode is either “corrupt” or there was a copy paste error because what you have is not a valid WP shortcode:
[connections category='644' |SORT_ACS,zipcode|SORT_DESC' template='cmap' page_limit='5' home_id='19413' lock='true']This could be the issue.
This is the part that is wrong, because it is incomplete:
|SORT_ACS,zipcode|SORT_DESC'It should be (
something-hereis a placeholder for a valid sort field):order_by='something-here|SORT_ACS,zipcode|SORT_DESC'OR
order_by='zipcode|SORT_DESC' -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
