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 1 reply, 2 voices, and was last updated 8 years, 10 months ago by
Steven Zahm.
-
AuthorPosts
-
07/03/2013 at 10:40 pm #264266
randy1123
ParticipantI purchased the latest premium templates that have search filters built-in (cmap, slim plus, title plus, excerpt plus, market). When I click on the search filter category, the result comes back as “No results.” My website is located at http://communitypages.tennesseevalleypride.com
07/04/2013 at 11:12 am #264309Steven Zahm
Keymaster@ randy1123
On the occasions I run across this it is because the theme or another plugin, usually the theme, is trying to be helpful and adds a HTML 5 “shim” javascript that adds support for the placeholder text in the search box. Unfortunately this is buggy, in my opinion. Go ahead and select a category and then look in the address bar of the browser, notice the there is
cn-s=Search
. The shim script is causing the placeholder text “Search” to be sent as if you were filtering by category and search for the word “Search” and it shouldn’t be. Obviously, this is not what you want to do.Unfortunately, other than changing themes, which I would never ask someone to do, the only solution is to make a small edit to Connections so it does no longer use the placeholder text.
Edit the
class.template-parts.php
file found here:
../wp-content/plugins/connections/includes/
Search for this line, should be on line 466:
$out .= '<input type="text" id="cn-search-input" name="cn-s" value="' . esc_attr( $searchValue ) . '" placeholder="' . __('Search', 'connections') . '"/>';
Replace it with this:
$out .= '<input type="text" id="cn-search-input" name="cn-s" value="' . esc_attr( $searchValue ) . '"/>';
Save and upload overwriting the original. Of course you should make a backup first.
Now, because the placeholder text is no longer in place, the shim script from the theme will no longer affect the category filter.
Hope that helps.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.