gtexeira
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] How to get a Value from tableIs there a way to import the content of a single file into a page without tables? The file contains only 1 simple string.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Importing Data with decimalsWhen I import a CSV file containing just 23.28, the table shows 2 columns (A and B) instead of just A
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Unable to Sort DateHi Tobias,
Thank you for clarifying the expected sorting functionality when using the “Custom Command” field within the TablePress edit screen.
The TablePress Extension from https://tablepress.org/extensions/table-row-order/ was the way to go, instead. This works as desired for me.
Thanks for your help.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Unable to Sort DateI copied and pasted your code above and it did not work with ASC and DESC. I also did not get any errors with the page inspector. Is there a php source file that I need to update?
I also discovered that the sorting only works when I enable “Enable sorting of the table by the visitor.” If I disable it, it goes back to the original sort.
- This reply was modified 7 years, 2 months ago by gtexeira.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Unable to Sort Datehmm.
I updated the “custom commands” field with double quotes:
“order”: [ [ 0, “desc” ] ], “columnDefs”: [ { “type”: “date”, “targets”: [ 0 ] } ]
still I have the report showing the oldest at the top.
however the console now does not show an error.The csv file looks like:
we,a,b,c,d,e,f,g,h,i,j,k,l
2018-03-18,22,2,2,3,0,0,0,1,0,0,2,32
2018-03-19,159,9,9,2,0,0,0,2,0,0,16,197
2018-03-20,132,4,3,6,0,1,1,0,1,1,12,161Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Unable to Sort DateI don’t have the ability to open the firewall rules.
Here is what I see from the dev tools report.
Uncaught SyntaxError: Invalid or unexpected token
$(‘#tablepress-7’).dataTable({“order”:[],”orderClasses”:false,”stripeClasses”:[“even”,”odd”],”paging”:false,”searching”:false,”info”:false,order:[[0,’desc’]],columnDefs:[{type:’date’,targets:[0]}]});
- This reply was modified 7 years, 2 months ago by gtexeira.