Forum Replies Created
-
AuthorPosts
-
Steven 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.phpfile 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.
Steven Zahm
Keymaster@ Matteo
This great! thanks. I just put your site in the Showcase.
Steven Zahm
Keymaster@ Susan
Which template and what version … oh, wait, custom template? what template and version did you base your custom template off of?
07/03/2013 at 11:54 am in reply to: What changes is the plugin making to .htaccess during activation? #264174Steven Zahm
Keymaster@ Rich
What path?
Connections only writes two .htaccess files, both of which only it its custom/private folders.
The first is here:
../wp-content/connections_templates/It adds a .htaccess to prevent browsing the templates directly.
The second is here:
../wp-content/plugins/connections/includes/timthumb/There are a couple rules in place to help make sure the timthumb script can be run directly.
Steven Zahm
KeymasterAhhh … I see, thanks for sharing!
Steven Zahm
Keymaster@ Jason
I looked at the demo page for the plugin … nothing stands out as wrong. My first suggestion is to try the jQuery fixer option on the Connections : Settings admin page under the Advanced tab.
What would be helpful would be a link to the page with Form on it with the plugin active.
Thanks.
Steven Zahm
Keymaster@ Steve
You can put the
[connections]shortcode on as many pages as you wish. The directory home page, currently, is used only for the destination links for the widgets.Steven Zahm
Keymaster@ Richard
Well, you could rename them in the class.options.php file, but that will also change their names in the drop downs.
Curious, could you give me an example of one that you would rename and what the new name would be?
Steven Zahm
Keymaster@ Steve
All templates except Market have been tested in Twenty Twelve at various screen sizes. The general feedback from others users are that they are quite happy with the result.
I hope that helps.
Steven Zahm
Keymaster -
AuthorPosts
