CSV 2 Table

Version
1.1 (last update on Oct 5, 2011)
Rating
Compatibility

Votes
Favoured
5
License
GPLv2 or later
Non-Commercial
Type
Views
17734
Date Added
23 March 2011
{csv}rows;and;values;here
and;second;row;neccessary{/csv}.
and it will replace this text to normal HTML table with sorting by column ablility.
For additional styling use .displaycsv_sortable or .displaycsv_sortable_not classes or ids csvtable0, csvtable1, csvtable2.
You can change default separator in plugin settings. If you upgrade from previous version - reapply the settings. Do not forget to puublish the plugin.
Very basic plugin. Just does what it shall do, without any "plus".
It lacks a demo.
Note that the CSV file has to be a "coma" separated file, and not "semi column" as Excel saves it for example.
All lines shall be separated by the HTML tags.
The best way to enter the data is by edinting the HTML of the article and copy/paste the data you prepared in Notepad in the following format :
{csv}
Gender, Age, Height
M,12,1.36
F,13,1.48
M,10,1.29
{/csv}
In the plugin administration, you can activate the ability to sort the table : put a 1 in the "sortable" box. Then, when you cilck on the header, the table will be sorted.
It lacks a demo.
Note that the CSV file has to be a "coma" separated file, and not "semi column" as Excel saves it for example.
All lines shall be separated by the HTML tags.
The best way to enter the data is by edinting the HTML of the article and copy/paste the data you prepared in Notepad in the following format :
{csv}
Gender, Age, Height
M,12,1.36
F,13,1.48
M,10,1.29
{/csv}
In the plugin administration, you can activate the ability to sort the table : put a 1 in the "sortable" box. Then, when you cilck on the header, the table will be sorted.




