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.
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.
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.
04/09/2018 at 4:57 pm #458407
I 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.
Attachments:You must be logged in to view attached files.04/10/2018 at 10:06 am #458506
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;
$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
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 #458752
Steve, 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 #458753
If I understand correctly, add
parent_id=291to the shortcode as well.04/12/2018 at 4:42 pm #458803
That was the ticket. Thank you!04/13/2018 at 9:56 am #459007
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.
You cannot reply to this support topic. Please open your own support topic.