Hi!! LOVE your plug-in!! I just downloaded it and I’m having tons of fun playing with it!! I’ve run into a question though. I’m setting up a coupon database for a customer and she is wanting to have some extra search boxes above the database. This is an example that she gave me:
Note the filter search and quick link buttons. Is there any way we can do something that that with this plug-in? I know the columns are all sortable … and that is great! But can we somehow add these enhanced searches too?
The site I’m working on now is:
Thanks so much!!
thanks for your question. Great to hear that you like TablePress so much! 🙂 (Don’t forget to rate it here in the plugin directory then. Thanks!)
Regarding your question:
One thing that I can offer is the functionality that you can see here:
There’s a drop down box for each column that allows to quickly filter certain values.
For each table that shall get this, then change the Shortcode in the page from something like
[table id=123 /]
[table id=123 datatables_columnfilterwidgets=true /]
Thanks so much for your super fast reply!! I gave your suggestion a try … and it seems to look great. I’ll see if my client is happy with it like that. Thanks again!!
sure, no problem! Great to hear that this will help!
For your table, it will probably make sense to not show a dropdown for the contents of the first column, as the name will likely be unique anyway. I therefore suggest to change your Shortcode once more, to
[table id=1 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1 /]
Great idea! I just tried adding in the new shortcode, but it didn’t affect the 1st column. Please confirm the shortcode.
Thanks again!!!! 🙂
Also Tobias … is it at all possible to use the term ‘COUPONS’ instead of ‘ENTRIES’ in the footer of the table? Where would I go to change that?
You are awesome!!!
yes, the Shortcode is correct. Did you really add
About changing “entries” to “coupons”: That’s possible with another TablePress Extension. Please see http://tablepress.org/extensions/change-datatables-strings/ for more information.
Thanks for your great plugin! I’am exactly on the same thing to add more search options to the table. With the dropdwon menu, this would be fantastic! I will try it with the shortcode and the extensions you provided.
Another input: maybe other people don’t like, but I would even pay for this plug-in with all the extensions inluded. Youl could sell it through codecanyon by themeforest.
Danke vielmals für dein super plugin!
thanks for your feedback! Great to hear that you like the plugin and the dropdown extension!
About your suggestion: Currently, I have no intention to make the plugin commercial (and certainly not through a site like CodeCanyon, as there’s some trouble going on right now with the company behind it and their understanding of the spirit of open source software). I see TablePress as my way of giving back to the WordPress community. (I do however appreciate donations to support my work, so feel free 🙂 )
have done the donation 😉 I do understand that free thing. But I am working now as a newbee already for more than one year with wordpress and when you want that a plugin is supported and the author has an incentive I prefer much more to pay a small amount than to have a free plugin .
All my themes, expcept one from woo, I have from themeforest. There is no other option.
Will try to know exclude some coulmns in the short code you provided. Will give you fast feedback.
just a feedback: to exclude a column is not working, see my shortcode below. Would be great to have this!!!
[table id=5 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1 /]
ok, thanks for testing this! As two people have now reported that the parameter is not working, I’ll take another look at the code and report back shortly.
Thank you so much! Have a nice weekend.
Luigi, thanks for your donation, I really appreciate it! And I can understand your point about support for plugins. For me, all of this is just a hobby though, and I’m not a professional developer. So, charging doesn’t really feel right, and it would put me under a lot more pressure. I’ll stick with the free/donation way for now 🙂
Now, back to the ColumnFilterWidgets: I checked the code again, and there was indeed a small problem that showed itself as an edge case bug, only when the excluded column is “1”. All other columns and combinations (like “1,2,3”) worked fine.
I fixed this bug and also took that opportunity to make the Extension compatible with the upcoming new version 0.9-RC of TablePress.
So, to use the fixed version, please first install the latest TablePress development version from http://downloads.wordpress.org/plugin/tablepress.zip (just replace the existing “tablepress” folder on your server with the one from the ZIP archive).
Then, also replace the Extension with a fresh download from http://tablepress.org/download/extension/tablepress-datatables-column-filter-widgets.zip
After that, the Shortcode should work as intended, and the first column should be excluded.
Regards and have a nice weekend, too!
Works perfectly! Thank you again very much for the work and hours you have already devoted to this project!
Hope you had a nice weekend, w/o coding 😉
- The topic ‘Enhanced search options ??’ is closed to new replies.