如何在Drupal 7中创建表单,在管理面板中保存数据并在excel中导出数据?

时间:2022-09-12 08:52:32

I need your help. How to create form in Drupal 7 with save data in admin panel and export data in excel? 1) The first step: When users click to button, form data send in admin panel saved and send email manager. 2) The second step: The manager can export data in excel, view tables. Maybe have the ready module? Thank you very much.

我需要你的帮助。如何在Drupal 7中创建表单,在管理面板中保存数据并在excel中导出数据? 1)第一步:当用户点击按钮时,在管理面板中发送表格数据保存并发送电子邮件管理器。 2)第二步:经理可以在excel中导出数据,查看表格。也许有准备好的模块?非常感谢你。

3 个解决方案

#1


0  

Why not good old webform module:

为什么不好旧的webform模块:

https://www.drupal.org/project/webform

It provides easy to understand interface for creating/editing webforms, it stores results, can send notification emails, can export results in Excel and other popular formats. Basically everything you need in one module, stable and widely used.

它提供易于理解的界面,用于创建/编辑webforms,它存储结果,可以发送通知电子邮件,可以导出Excel和其他流行格式的结果。基本上你需要在一个模块中的一切,稳定和广泛使用。

#2


0  

Try Excel data export and build your features onto it if you understand how to create Drupal modules. Also, consider these libraries PHPExcel, Libraries API, PHP Export Data

如果您了解如何创建Drupal模块,请尝试使用Excel数据导出并在其上构建您的功能。另外,请考虑这些库PHPExcel,Libraries API,PHP Export Data

#3


0  

You could use the Forena module (disclosure: I'm a co-maintainer of it), and produce all sorts of output formats (CSV, XLS, XML, JSON, etc).

您可以使用Forena模块(披露:我是它的共同维护者),并生成各种输出格式(CSV,XLS,XML,JSON等)。

Have a look at the Simple Table of States example, and think of it as the equivalent of your "data to be saveds". And note the hyperlinks in the upper right, which are:

看一下Simple Table of States示例,并将其视为“要保存的数据”的等价物。并注意右上角的超链接,它们是:

Try any of these links to get the equivalent of the extracted information, but in the format you requested (there or other supported formats such as PDF, DOC, JSON, etc).

尝试使用这些链接中的任何一个来获取所提取信息的等效内容,但是采用您请求的格式(有PDF或其他支持的格式,如PDF,DOC,JSON等)。

Checkout Forena's Community Documentation for (way) more details, and/or the documentation that comes with the module.

Checkout Forena的社区文档,以获取更多详细信息和/或模块随附的文档。

#1


0  

Why not good old webform module:

为什么不好旧的webform模块:

https://www.drupal.org/project/webform

It provides easy to understand interface for creating/editing webforms, it stores results, can send notification emails, can export results in Excel and other popular formats. Basically everything you need in one module, stable and widely used.

它提供易于理解的界面,用于创建/编辑webforms,它存储结果,可以发送通知电子邮件,可以导出Excel和其他流行格式的结果。基本上你需要在一个模块中的一切,稳定和广泛使用。

#2


0  

Try Excel data export and build your features onto it if you understand how to create Drupal modules. Also, consider these libraries PHPExcel, Libraries API, PHP Export Data

如果您了解如何创建Drupal模块,请尝试使用Excel数据导出并在其上构建您的功能。另外,请考虑这些库PHPExcel,Libraries API,PHP Export Data

#3


0  

You could use the Forena module (disclosure: I'm a co-maintainer of it), and produce all sorts of output formats (CSV, XLS, XML, JSON, etc).

您可以使用Forena模块(披露:我是它的共同维护者),并生成各种输出格式(CSV,XLS,XML,JSON等)。

Have a look at the Simple Table of States example, and think of it as the equivalent of your "data to be saveds". And note the hyperlinks in the upper right, which are:

看一下Simple Table of States示例,并将其视为“要保存的数据”的等价物。并注意右上角的超链接,它们是:

Try any of these links to get the equivalent of the extracted information, but in the format you requested (there or other supported formats such as PDF, DOC, JSON, etc).

尝试使用这些链接中的任何一个来获取所提取信息的等效内容,但是采用您请求的格式(有PDF或其他支持的格式,如PDF,DOC,JSON等)。

Checkout Forena's Community Documentation for (way) more details, and/or the documentation that comes with the module.

Checkout Forena的社区文档,以获取更多详细信息和/或模块随附的文档。