Digital 805
Forum Replies Created
-
Thank you for your reply, Tobias. Yes, everything in the first part of your message is correct. I want to be able to choose a category by a URL parameter, so that I can link to a pre-filtered table.
Thanks again for your help. Perhaps someone will be looking for the same thing and be kind enough to post the code. I certainly will if I find someone to do the code. Thanks again.
- This reply was modified 8 years, 12 months ago by Digital 805.
I see. The custom html code is not a problem, but I am unfamiliar with how to use JS code to redirect as suggested. That’s too bad. It seems like this is how most would want filtering categories to work. Please update me if this becomes part of the function of the plugin or if anyone can offer the java code for this purpose.
I see what it doing now. It is pulling keywords from the description, rather than displaying the property category ‘flexible’ as the drop down does. How can I get it to display to exclude_columns=1,3,4,5 and function like the drop down on that page?
Here is my shortcode:
[table_filter id=4 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1,3,4,5 /]The plugins I have activated are:
TablePress Extension: DataTables Automatic Filtering
TablePress Extension: DataTables ColumnFilterWidgets
TablePress Extension: Shortcode Filter from GET parameterYes, I changed the code. Here is the entire php.
<?php /* Plugin Name: TablePress Extension: Shortcode Filter from GET parameter Plugin URI: https://tablepress.org/extensions/shortcode-filter-get-parameter/ Description: Custom Extension for TablePress to use the Row Filter extension with a filter term from a $_GET parameter Version: 1.0 Author: Tobias Bäthge Author URI: https://tobias.baethge.com/ */ /* * The Shortcode: [table_filter id=123 /] * will be filtered for http://example.com/?table_filter=myfilterword */ function tablepress_filter_shortcode( $attributes, $content ) { if ( ! empty( $_GET['table_filter'] ) ) { $filter_term = $_GET['table_filter']; /* * Only allow characters a-z, A-Z, 0-9, and spaces in the filter term. * This regular expression needs to be extended if other characters shall be allowed. */ $filter_term = preg_replace( '#[^a-z0-9 ]#i', '', $filter_term ); $attributes['datatables_auto_filter'] = $filter_term; } return tablepress_get_table( $attributes ); } if ( ! is_admin() ) { add_shortcode( 'table_filter', 'tablepress_filter_shortcode' ); }Here is my shortcode for the page:
[table_filter id=4 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1,3,4,5 /]Thanks for your help.
- This reply was modified 8 years, 12 months ago by Digital 805.
Ok, thank you. If the drop-down wont work out of the box, I’ll stick with the direct link. You said, “So something in the chain of Extensions is not yet set-up properly.” What do you mean by that? Is it something in your plugin or something that I didn’t do? Can you provide direct instructions on this type of link? Thank you.
Hi, The table filter shortcode is working fine on the page. I’m trying to create a simple text link from elsewhere within the site like this:
<a href="http://digital805.com/beai/datasheets_sds/adhesive-by-properties/?table_filter=FLEXIBLE">FLEXIBLE</a>I have installed Shortcode Filter from GET parameter plugin and DataTables Automatic Filtering.
Using the shortcode would work too, but I want the drop down to display on it’s own page and then filter when directing to the page that contains the data.
I hope that is clear. Thanks!
I went ahead and added the row filtering extension and still no luck.
I also applied the code change, in the GET parameter plug in, where
'filter'is changed to'datatables_auto_filter', like this:
$attributes['datatables_auto_filter'] = $filter_term;Per the instructions row filtering not needed and has been disabled.
I’m sorry for the multiple submissions. This is my final step before launching. Thank you!
- This reply was modified 9 years ago by Digital 805. Reason: additional changes made
I also installed Shortcode Filter from GET parameter plugin and still not working. Do I need. Do I need the row filtering extension as well? I’m happy to make a donation once I get it working. Thank you!
Hi,
Thanks for the great plugin! I am having some trouble with the prefiltering. I have installed the DataTables Automatic Filtering plugin and I’m trying to create a hyperlink within my widgets to filter the table by search criteria. Here are two examples:
<a href="http://digital805.com/beai/datasheets_sds/adhesive-by-properties/?table_filter=ELECTRICALLY CONDUCTIVE">ELECTRICALLY CONDUCTIVE</a>
<a href="http://digital805.com/beai/datasheets_sds/adhesive-by-properties/?table_filter=FLEXIBLE">FLEXIBLE</a>I’m a bit lost by the instructions. Can you help?
Thank you!
Forum: Plugins
In reply to: [Team - Team Members Showcase Plugin] Adjust containerI also need my content to be flush left, not center on the page, including the title. The page is alos not recognizing any breaks in the content.
Forum: Plugins
In reply to: [Team - Team Members Showcase Plugin] Adjust containerI need it to fit within the column structure of the theme container. It appears the plugin uses a series of columns to display the content and it’s out of alignment.
Forum: Plugins
In reply to: [Team Showcase] display issuesI guess I will post my issues individually. If I don’t get a response within the next couple of days, I’m going to abandon this plugin.
Maybe you only respond to paid plugin issues?
- This reply was modified 9 years, 8 months ago by Digital 805.
Forum: Plugins
In reply to: [Loco Translate] Error: Not FoundI’m still unable to come up with a solution for this. My host provider asked me to contact you to find out if there are some specific server settings needed to run this plugin. Please advise.
Forum: Plugins
In reply to: [Loco Translate] Error: Not FoundI’m still unable to resolve this issue. When I turned on debug, I didn’t see anything in the log related to this plugin, but I received a different error: Error: Method Not Implemented
Do you have any suggestions?