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 3 replies, 2 voices, and was last updated 7 years, 10 months ago by
Steven Zahm.
-
AuthorPosts
-
01/27/2016 at 12:29 pm #362671
Cole Schweikhardt
ParticipantSteve, in our law firm site we have a category dropdown on a grid page that has grids broken up by attorney hierarchy: Parnters, Of Counsel, Senior Attorneys, Associates. Thus, multiple instances.
So, you can choose a category from the dropdown: Senior Attorneys and only Senior Attorneys will be shown. However, if one then chooses “Show All Categories” only Partners will be returned.
I’m not positive if this is a result of how we have had to implement the category breakdown. But, if perform those tasks, you’ll see that Show All will return “cat=0” in the url. http://ccshkt.com/out-attorneys
I believe we need to target “Show All” back to our custom Attorneys page. To do that I think we must locate the dropdown code and hard code that. Can you help locate where that is?
==
Secondly, our client is asking if we can filter the profiles by location, while maintaining their hierarchy. We’d either need top level categories by city or some way to filter by the existing location field while preserving hierarchy.
This may really be scope creep that is beyond why we chose to use Connections Pro in the first place.
Your “two-cents” on that scenario would be helpful.
01/28/2016 at 1:27 pm #362780Steven Zahm
Keymaster@ Cole
re: To do that I think we must locate the dropdown code and hard code that. Can you help locate where that is?
The code the renders the drop down can be found here in this file in this line.
As a suggestion. Rather than hard coding something here. Disable the select all option in the template and then put a link at the tip of the attorneys page for a back button to the “Our Attorneys” page.
To disable the select all option, add this
str_select_all=''
to the shortcode. That should remove it. To add the back link, if the theme has a button shortcode use that and put it above the[connections]
shortcode on the attorneys page.Hope that makes sense!
re: Secondly, our client is asking if we can filter the profiles by location, while maintaining their hierarchy. We’d either need top level categories by city or some way to filter by the existing location field while preserving hierarchy.
I think should be possible. Add an address to each entry. I’m guessing the locations are Austin and Houston. Just add the city to the address field or whole office address, but the key will be the city.
Now you can use URL/s like:
These are working links :) guessing a few entries do have addresses.
They should still be ordered according to the meta/key values assigned but filtered by city.
You could add these as links… I’ve seen other sites do the same… or you could add it as another drop down to the template. You could even get really creative and pull the locations (cities) straight from the db and render the select or links dynamically so it is not hard coded.
Hope that helps, let me know.
01/28/2016 at 2:36 pm #362782Cole Schweikhardt
ParticipantThanks Steve. We’ll check it out.
On the City scenario, the key detail there is that we need to still have the attorneys within those pages be in the proper hierarchy. We’ll think it through and see if we can make it work.
01/28/2016 at 5:05 pm #362805Steven Zahm
Keymaster@ Cole
They should still be ordered according to the meta/key values assigned but filtered by city.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.