michaelfrans
Forum Replies Created
-
Awesome, great catch. Gotta watch those cut-and-pastes!
Sure, here’s the table without any custom command:
http://kenwoodmap.regole.com/dealer-list/And here’s a copy of the same table with the custom command:
“columnDefs”: [ { “searchable”: false, “targets”: [ 0, 1] } ]
http://kenwoodmap.regole.com/dealer-list-2/Hi Tobias –
Yes, the third column is hidden via the button on the edit screen. I can use CSS to hide it instead.
However, the custom command:
“columnDefs”: [ { “searchable”: false, “targets”: [ 0, 1] } ]
still makes the search box disappear.I’ve switched themes with the same result, so I’m pretty sure it’s not a theme conflict. And the only two plugins I’m using are ‘TablePress’ and ‘TablePress Extension: Change DataTables strings.’
Any ideas? Thank you!
Thanks, worked like a charm.
Hey guys… any insights??
More on this. That particular plugin “PS Disable Auto Formatting” was using deprecated code. I changed line 310 in ps_disable_auto_formatting.php from:
$ps_disable_auto_formatting = &new ps_disable_auto_formatting();
to:
$ps_disable_auto_formatting = new ps_disable_auto_formatting();
Removing the ampersand fixed the issue for me.
Fabian, this worked out for me. I pulled up /wp-content/plugins/wp-filebase-pro/wpfb-ajax.php and saw an error indicating a conflict with the “PS Disable Auto Formatting” plugin I have installed. The error was:
“{“type”:8192,”message”:”Assigning the return value of new by reference is deprecated”,”file”:”\/wp-content\/plugins\/ps-disable-auto-formatting\/ps_disable_auto_formatting.php”,”line”:310}”
Disabling that plugin fixed the solution for now.Chrisp70, the steps Fabian listed should be used as:
To Debug things please open the following URL paths of your site in your browser and post what you see.
1) http://www.yourwebsiteurl.com/wp-content/plugins/wp-filebase-pro/wpfb-ajax.php
The result you seen on screen should be “-1”, don’t inlude the “=> -1” in the URL