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 5 replies, 2 voices, and was last updated 5 years, 1 month ago by
Steven Zahm.
-
AuthorPosts
-
04/09/2018 at 4:57 pm #458407
Diane Lindquist
ParticipantI realize the “QuickTip: Show No Entries Until User Performs a Search” is not supported, but I did encounter an issue when using it with cMap. When enabled, the quicktip seems to wipe out the cMap shortcodes.
Here is my connection entry:
[cn_widget id="cnw_search-4"][connections template="cmap" category=291 enable_search='FALSE' enable_category_by_root_parent='TRUE' str_work_phone="Phone" str_work_addr="" str_select="Select Specialty Type" str_select_all="Show All Specialties" str_category_label="Specialty: "]
When “Suppress Results” is not checked the top of my page looks the first screen shot, Screenshot-2018-4-9_1.
When “Suppress Results” is checked: Screenshot-2018-4-9_2.
Thanks.
Attachments:
You must be logged in to view attached files.04/10/2018 at 10:06 am #458506Steven Zahm
Keymaster@ Diane
It is not that the shortcodes are “wiped out”. When no results are displayed the cMap search and category drop down are not being used at all. What you’ll need to do is edit the plugin you downloaded from the tutorial to change the category drop down default text and remove the keyword search field.
To remove the keyword search, you would delete this line:
$search = cnTemplatePart::search( $atts );
And change this line from:
$replace = $formOpen . $category . $search . $formClose;
to this:
$replace = $formOpen . $category . $formClose;
You might get away with not having to edit the default text for the category select by adding the following to the
[connections]
shortcode:default="Select Specialty Type" select_all="Show All Specialties"
You would leave all you existing options as is, add these to the existing shortcode.
Hope this helps!
04/12/2018 at 10:23 am #458752Diane Lindquist
ParticipantSteve, thanks, it worked except for the category focus, meaning the drop down lists all categories not just the category=291. Do I have to further modify the plugin? Thanks again.
04/12/2018 at 10:45 am #458753Steven Zahm
Keymaster@ Diane
If I understand correctly, add
parent_id=291
to the shortcode as well.04/12/2018 at 4:42 pm #458803Diane Lindquist
ParticipantThat was the ticket. Thank you!
04/13/2018 at 9:56 am #459007Steven Zahm
Keymaster@ Diane
Great to hear!
The reason for the duplication of the shortcode values is because the cMap shortcodes actually map to these new shortcode options. You have to use these because that mapping is not being done because the template is not being used when now search is being performed.
What I should do is update the search plugin to do the mapping of those values that way they should just work as expected. I’ll try to set some time aside today to update it.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.