Hi Chris,
thanks for your question.
Unfortunately, I don’t really think that this is possible that easily, and therefore, this will most likely not make it into the core of the plugin. Also, it’s probably not that useful to many people, so that the best approach here might be to develop this as a TablePress Extension. With that, you could use some plugin filter hooks, loop through the content of the table, search for the date and then do the highlighting.
This would be much more flexible than any solution in the plugin directly could ever be.
About the date sorting: Can you please post a link to the page with the table, so that I can take a direct look at this? Thanks!
Regards,
Tobias
Hi,
thanks for the link!
From what I can see, you have not yet told the table to use the German date format for the fifth column. To do that, please add this to the “Custom Commands” (“Eigene Befehle”) textfield on the “Edit” screen of the table:
"aoColumnDefs": [ { "sType": "date-eu", "aTargets": [ 4 ] } ]
The 4 indicates fifth column, as counting starts with 0.
Regards,
Tobias
Thank you very much!
The sorting works perfectly now.
I have also installed Table Row Order, to order the table by date. But if I`m using
[table id=1 row_order=”sort” row_order_sort_column=”E” /]
it wont sort. I know that it
s a premium extension, but how much does it cost? And where do I have to pay it?
_____________________________________________
So are you working on the highlight extension? Without this highlighting I have to reconsider the whole project.
Hi,
good to hear that the sorting works now 🙂
The Table Row Order Extension is not that helpful here, unfortunately, as it does not understand date data types, but only strings and numbers 🙁
I assume that you probably want to change the initial table order. You could achieve that by extending the “Custom Command” from above to
"aoColumnDefs": [ { "sType": "date-eu", "aTargets": [ 4 ] } ], "aaSorting": [[4,'asc']]
And yes, the Table Row Order Extension is a premium extension, but you can still use if for free. Premium in this case means that it is encouraged to donate to TablePress, if you are happy with the Extension. It does not have a fixed price.
About that Highlighting Extension: No, sorry, working on this is more than what I can offer as free support right now. If you want, we could try to work something out professionally here though. If that would be an option for you, please send me an email with a detailed explanation of what you would like to have (maybe with a small example), so that we can discuss this. You can find my email address in the main plugin file “tablepress.php”.
Regards,
Tobias
Hello, check your inbox!
I hope we can manage this together.
Hi,
yes, thanks, I have received your email, and I will probably have time to reply this evening.
Regards,
Tobias
Hello,
did you find solution to this problem?
Tnx.
Hi snoppy866,
no, sorry 🙁 And I still don’t see a chance for this in the near future, unfortunately.
Best wishes,
Tobias