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.7.9.3, code snippets, results, search
- This topic has 24 replies, 2 voices, and was last updated 9 years ago by
Cindy Fajardo.
-
AuthorPosts
-
02/13/2014 at 12:39 pm #279995
Cindy Fajardo
ParticipantWe have a WP website using connections to list affiliates. The client would like to show just the search box and drop down list on one page and when someone searches for an affiliate, it would show on another page rather than listing all of them one after the other on the same page. Can this be done? Thanks
02/15/2014 at 11:14 am #280103Steven Zahm
Keymaster@ Cindy
I see you have cMap, so yes, you can do this. Here’s how…
Install the Code Snippets plugin.
Download and unzip the file attached to this reply.
Import the code snippet XML file, search.code-snippets.xml, into Code Snippets. See the FAQs on where to find the import feature.
Activate the newly imported snippet.
Lastly, addinitial_results=false
to the[connections]
shortcode.That should do it.
Attachments:
You must be logged in to view attached files.02/18/2014 at 2:09 pm #280344Cindy Fajardo
ParticipantHi Steven,
We are actually using tile-plus template. I figured out away to get just the search box to show using another plugin but it won’t show the drop down of categories. So I would like to try your solution however it doesn’t work. It only shows the words Search Directory in a garbled text. Is there something in the xlm I need to change that maybe references the cmap template? Thanks.02/18/2014 at 2:44 pm #280347Cindy Fajardo
ParticipantHi Steven,
I tried changing all references from CNT_cMap to CNT_tile-plus and added initial_results=false to my connections shortcode but it gives me an internal server error.
Trying to add it to this page http://www.habitatforhumanityofohio.org/advanced-search/ so as not to disturbe the site.02/19/2014 at 10:10 am #280414Steven Zahm
Keymaster@ Cindy
You can substitute CNT_cMap, but you need to use CNT_TilePlus. I think that is all that needs done.
02/24/2014 at 9:23 am #280973Cindy Fajardo
ParticipantHi Steven,
Still need help with this if you have a moment. The page is just showing garbled heading Search Directory and no search box or drop down. ThanksCindy
02/25/2014 at 4:58 pm #281067Steven Zahm
Keymaster@ Cindy
In the snippet, please remove this line:
$replace = str_replace( array( "rn", "r", "n", "t" ), array( ‘ ‘, ‘ ‘, ‘ ‘, ‘ ‘ ), $replace );05/13/2014 at 11:30 am #290965Steven Zahm
Keymaster@ erez
I attached an update code snippet which will work for you.
Install the Code Snippets plugin.
Download and unzip the file attached to this reply.
Import the code snippet XML file, search.code-snippets.xml, into Code Snippets. See the FAQs on where to find the import feature.
Activate the newly imported snippet.
Lastly, addinitial_results=false
to the[connections]
shortcode.That should do it.
Attachments:
You must be logged in to view attached files.05/13/2014 at 1:49 pm #291004Cindy Fajardo
ParticipantHi Steven,
I get an internal server error with the new snippet. I tried adding initial_results=false to the connections shortcode but no go. This is the shortcode I am currently using
[connections template='tile-plus' show_image='false' show_alphaindex='false' repeat_alphaindex='true' width='100%' str_contact='Contact' str_work_addr='Address' str_work_phone='Phone' str_work_fax='Fax' str_work_email='Email']Thanks
Cindy05/13/2014 at 2:02 pm #291005Steven Zahm
Keymaster@ Cindy
Which snippet did you download? Please use this one instead.
After you import it, you will have to make the edit I mention in this forum reply because the quotes on one line will not be imported correctly.
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connections
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.