我应该使用哪个模块/核心函数来显示网络表单结果?
在我的 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果我理解正确的话,您正在尝试使用 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.