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.
Tagged: 0.8.14, category, cMap, code snippets, enable_category_multi_select, multi-select, shortcode
- This topic has 9 replies, 3 voices, and was last updated 12 years ago by
Joshua Kornreich.
-
AuthorPosts
-
07/28/2014 at 2:22 pm #298249
karikirch
ParticipantHi
I seem to be a bit confused and probably misread some features before purchasing.
What I was hoping to achieve was for the general public to be able to select a region and then select their preferred supplier from that region.
I’ve created two parent categories, both with child categories in them, one for suppliers and the other regions. When I created a new entry I ticked off the relevant categories that entry related to. (ie supplier’s speciality in a particular region)
Please advise if there a way I could achieve this.
Many Thanks
07/29/2014 at 1:22 pm #298442Steven Zahm
Keymaster@ Karen
I’m thinking you are looking for a category multi-select feature, where a user can choose more than one category, yes?
This is possible using a beta feature which is a little broken at the moment but can be made to work.
First, add the
enable_category_multi_selectshortcode option to you shortcode. You should have something like:
[connections enable_category_multi_select='true']Activate the cMap template on the Connections : Templates admin page.
Now, install the Code Snippet plugin.
Add a new snippet with the following code:
function cn_cmap_add_submit_button( $atts, $results ) { if ( $atts['enable_category_multi_select'] ) { cnTemplatePart::submit( array( 'return' => FALSE ) ); } } add_action( 'cn_action_list_before-cmap', 'cn_cmap_add_submit_button', 99, 2 );Save and activate the snippet.
Now, your users will be able to select multiple categories to filter the results by.
Hope that helps!
07/29/2014 at 2:24 pm #298446karikirch
ParticipantThanks Steven, appreciate your comments. Will give it a go and see if works and let you know :)
07/29/2014 at 3:29 pm #298453karikirch
ParticipantHi Steven
So I’ve followed your instructions and the functionality works. Quick question, is there any way I could have two separate search boxes next to other, one for region and one for suppliers?
Thanks again.07/30/2014 at 1:41 pm #298533Steven Zahm
Keymaster@ Karen
Sorry, no, not of the box. That would have to be custom developed. If that is a route you would like to take, I can recommend a dev who has plenty of experience working with Connections and its templates. just let me know.
08/08/2014 at 4:25 am #300109karikirch
ParticipantHi Steve
Been off my site for a few days and seem to have something strange happening. When I click on the link SACFA DIRECTORY is takes me to my homepage instead of the directory page. I’ve tested using other pages with the shortcode and they work fine. Please can you see if there is anything obvious causing this.
Can you please send me details of your dev who may be able to help with the previously discussed custom work I require.
Thanks!08/08/2014 at 6:40 am #300118karikirch
ParticipantHave managed to fix the SACFA-directory link. Just need dev info please.
08/08/2014 at 8:17 am #300120karikirch
ParticipantHi Steve
As you said previously “I can recommend a dev who has plenty of experience working with Connections and its templates. just let me know.”
Please can you forward me the dev’s details.Thank you.
08/08/2014 at 8:31 am #300122Steven Zahm
Keymaster@ Karen
I’ll ask the dev to reply to you here so you and he can make contact.
08/08/2014 at 9:51 am #300131Joshua Kornreich
ParticipantI’m the developer Steve mentioned, and I’d be happy to hear about what I can do to help. Feel free to send me an email at joshua@tier27.com
Josh
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
