[wordpress插件] AJ CSV to DataTableAJ CSV到DataTable

wordpress 插件 文章 2020-02-13 04:40 590 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

WordPress Plugin to present a CSV file in a DataTable.

WordPress插件可在数据表中显示CSV文件。

This will import data from a CSV file and display in a DataTable.

这将从CSV文件导入数据并显示在数据表中。

How To Use

使用方法

Insert following code snippet into any page or post using this shortcode, make sure you use an unique id :

使用此短代码将以下代码段插入任何页面或帖子中,请确保使用唯一的ID:

[aj-csv2dt src=http://e-innoving.com/samples/SacramentocrimeJanuary2006.csv id=datatable_id]

  [aj-csv2dt src = http://e-innoving.com/samples/SacramentocrimeJanuary2006.csv id = datatable_id]

You can now disable DataTable search, pagination, sorting and displaying of bInfo with the recent 1.1 release.

您现在可以使用最新的1.1版本禁用bTable的DataTable搜索,分页,排序和显示。

The purpose of this is to render a static looking HTML Table out of a CSV file.

这样做的目的是从CSV文件中呈现静态外观的HTML表。

[aj-csv2dt src=http://e-innoving.com/samples/SacramentocrimeJanuary2006.csv id=datatable_id disable_search=true disable_paging=true disable_binfo=true disable_sorting=true]

  [aj-csv2dt src = http://e-innoving.com/samples/SacramentocrimeJanuary2006.csv id = datatable_id disable_search = true disable_paging = true disable_binfo = true disable_sorting = true]

Save it, just refresh the page and see.

保存它,只需刷新页面即可查看。

Less hassle, all your csv data is inside the DataTable.

麻烦一点,您所有的csv数据都在DataTable内部。

Credits

积分

This plugin utilizes some excellent open source scripts, functions and images whose creators deserve to be recognized.

此插件利用了一些优秀的开源脚本,功能和图像,其创建者值得认可。

    1. Shaun Scovil, for inspiring me through his CSV to Sortable Plugin.
    2. Shaun Scovil,通过他的CSV启发我了Sortable插件。

    3. V.Krishn wrote a handy PHP function that enables users of PHP < 5.3 to utilize the

    4. V.Krishn编写了一个方便的 PHP函数,使PHP <5.3的用户可以使用

      >str_getcsv() function that powers this plugin.

    5. 为该插件供电的> str_getcsv()函数。

    Common Errors

    常见错误

      1. If the datatable misbehaves, this is probably due to an incorrect csv format.

      2. 如果数据表行为异常,则可能是由于csv格式不正确。

        In that case, open csv file in excel

        在这种情况下,请在excel中打开csv文件

        and re-save it as a new csv.

        并将其重新保存为新的csv。

        Most likely this will resolve your issue.

      3. 很有可能会解决您的问题。

安装步骤

    1. Install and activate the plugin via WP-Admin > Plugins.
    2. 通过 WP-Admin>插件安装并激活插件。

    3. Add shortcode to a post or page: [aj-csv2dt src=http://samplecsvs.s3.amazonaws.com/SacramentocrimeJanuary2006.csv id=datatable_id].
    4. 在帖子或页面上添加简码: [aj-csv2dt src = http://samplecsvs.s3.amazonaws.com/SacramentocrimeJanuary2006.csv id = datatable_id]

下载地址

https://downloads.wordpress.org/plugin/aj-csv-to-datatable.zip

https://downloads.wordpress.org/plugin/aj-csv-to-datatable.zip

-EOF-

AI助手支持GPT4.0