我应该使用哪个模块/核心函数来显示网络表单结果?

发布于 2024-12-15 09:03:28 字数 149 浏览 3 评论 0原文

在我的 Drupal 7 站点中,用户将填写一个表单。 经过一番搜索,我发现 Webform 非常容易创建表单。 我创建了一个。

当用户提交表单时,php 文件将查询 MySQL 数据库并查找相关记录。 我的问题是哪个模块或核心功能适合轻松地用好看的对象显示这些结果?

In my Drupal 7 site, users will fill a form.
After some search i found that Webform is very easy to create forms.
I created one.

When user submit the form, a php file will query the MySQL database and find relevant records.
My question is which module or core function is suitable to easily display these results with good looking objects??

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

趴在窗边数星星i 2024-12-22 09:03:28

如果我理解正确的话,您正在尝试使用 webform 模块作为搜索引擎。然而,该模块旨在帮助您制作表格来维护信息,例如联系表格或调查。

如果您想要的是搜索引擎之类的东西,我建议您使用 drupal 安装附带的默认搜索引擎。如果您想要基于多个字段的高级搜索功能(例如过滤系统),您可以使用可下载的视图。

使用视图,您可以轻松地为一种或多种内容类型创建美观的概述。通过公开过滤条件字段,用户将能够查询数据库。

If I understand correctly you are trying to use the webform module as a search engine. However this module was meant to help you make forms to uptain information, like a contact form or surveys.

If what you want is something like a search engine I would suggest using the default search engine that comes with your drupal install. If you want a advanced search function based on multiple fields, so a filter system, you could for instance use the downloadable views.

Using views you can easily make a good looking overview for instance for one or more content types. By exposing the filter criteria fields, users would be able to query the database.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文