Table
-
I’d like to use TablePress searches to return posts with categories and tags as seen here – http://cswd.net/recycling/a-z/
Is this possible?
Thanks, Tobias. Great plugin!
-
Hi,
thanks for your post, and sorry for the trouble.
Unfortunately, I can’t really think of a solution here. TablePress can only produce static HTML tables from the data in one of its tables, but it does not have features that allow e.g. using posts from categories/tags to be used. Sorry 🙁
Regards,
TobiasThanks, Tobias. You’re the best!
Another quick question…. the tables work wonderfully.
Is there a way to put a Search box on another page that returns results on the table page?
I’d like to advertise the Search Table on other pages.
Hi,
good to hear that the tables are working!
For that search box, you could look at this maybe: https://wordpress.org/support/topic/search-in-url-1?replies=4
and then also combine that with https://wordpress.org/support/topic/search-from-another-page?replies=8 to get a new form.Regards,
TobiasMy apologies.
Just found you’ve already addressed this in other posts.
I will study carefully and proceed.
All the best. Thanks again!Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
TobiasP.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!
Still having trouble 🙂
Trying to place Search input here – http://frazier-mcdermott.com/
With results revealed here – http://frazier-mcdermott.com/disposal-a-z/
Hi,
then you’ll have to put the form on http://frazier-mcdermott.com/ , with http://frazier-mcdermott.com/disposal-a-z/ being the forms
target, as outlined in those links.Regards,
TobiasCan I search the table which already exists on http://frazier-mcdermott.com/disposal-a-z/ from another page?
and, have the results of search appear in existing table on http://frazier-mcdermott.com/disposal-a-z/
Hi,
yes, that’s exactly what the approach with the Extension from above can do 🙂
Regards,
TobiasStill can’t do it 🙁
For Search box, I have the following on http://frazier-mcdermott.com/
<form action="http://frazier-mcdermott.com/disposal-a-z/" method="get"> <input type="search" name="table_filter" id="search" /><br /> <input type="submit" name="submit" id="submit" value="Submit"> </form>I have installed “Shortcode Filter from GET parameter” and “DataTables Automatic Filtering”
I have the following code on http://frazier-mcdermott.com/disposal-a-z/
[table_filter id=2 /]What am I missing?
Hi,
I think that we are very close. I can think of three things at the moment:
1. Is the DataTables Automatic Filtering Extension really activated?
2. Did you make the change that is mentioned in https://wordpress.org/support/topic/search-in-url-1?replies=4#post-6191650 ?
3. You are affected by the same invisible character problem as in this post: https://wordpress.org/support/topic/search-from-another-page?replies=8#post-3877691 This invisible character has to be removed.Regards,
TobiasSo close! Still not there.
Yes, Extension: DataTables Automatic Filtering is activated.
tablepress-shortcode-filter-get-parameter.php has been changed from
$attributes['filter'] = $filter_term;to
$attributes['datatables_auto_filter'] = $filter_term;No invisible character has found.
When I input “firework” in search window on http://frazier-mcdermott.com/ I get results at http://frazier-mcdermott.com/disposal-a-z/%E2%80%8E?table_filter=firework&submit=Submit with message Page Not Found
Do I need to specify Table ID to search?
Hi,
the table ID just has to be in the
[table_filter id=2 /]Shortcode.
To check if the Automatic Filtering Extension work by itself, can you try a Shortcode like
[table id=2 datatables_auto_filter="firework" /]?
Then, the
%E2%80%8Ethat you are seeing in the URL are coming from the mentioned invisible character that I mentioned (this is the encoded form of the character). To remove that, please replace the line<form action="http://frazier-mcdermott.com/disposal-a-z/" method="get">with
<form action="http://frazier-mcdermott.com/disposal-a-z/" method="get">(it looks the same, but it isn’t. I removed the invisible character after the
-a-z/part.)Regards,
TobiasYou are genius!
Invisible character removed now yields http://frazier-mcdermott.com/disposal-a-z/?table_filter=firework&submit=Submit so Page is Found!
Automatic Filtering Extension works by itself. Confirmed.
What a joy! It works!
Thank you so much.
The topic ‘Table’ is closed to new replies.