Sử dụng Drupal Entityforms tốt hơn Drupal Webform?

Sử dụng Drupal Entityforms tốt hơn Drupal Webform?

Is Drupal Entityforms a Good Alternative to Webform?Last month, we ran a webinar called 45 Modules in 45 Minutes.

In the webinar we listed 45 of the best Drupal modules in 45 minutes.

One of the modules we mentioned was Webform, which is a module we use in every beginner class.

In the comments on that webinar, someone mentioned Entityforms as a better option than Webform and one that is more tightly integrated to Drupal.

I decided to take Entityforms for a test drive ...

Step #1. Install Entityforms

Step #2. Set up Entityforms

  • Go to Structure > Entityform Types
  • Click Add entityform type
  • Enter the Name for your form:

media_1394626262901.png

  • Choose which Roles are allowed to use this form:

media_1394626389873.png

  • Click Save Entityform type.

Step #3. Add fields

One of the big advantages of Entityforms over Webforms is that it used all of the normal Drupal field system.

  • Go ahead and add all of the fields you would like on your form:

media_1394626501886.png

Step #4. Set up the emails

Entityforms uses the Rules module to send emails:

  • Click the Rules tab
  • Make sure that "Entityform Notification Email Admin" is selected. Click Add.

media_1394627380671.png

  • Enter the Subject for the emails you will receive.
  • Check the box Show submission.
  • Enter the To Email address when you want to receive results.

media_1394627415583.png

  • Click Save Changes.

Step #5. Use the form

You form will now be ready to use:

media_1394626847457.png

Entityform or Webform?

It's unlikely that we'll replace Webform in our beginner class any time soon. Webform is just really, really easy to use. 

However, for more experienced users, Entityform is a really good option. It relies far more on the Drupal core and on key Drupal modules, whereas many features in Webform are not seen anywhere else.

One example sums up both of the points I just made. Webform has it's own CSV export feature which is easy to use. Entityform needs Views data export, which reqiures more experience to use, but is undoubtedly more powerful.

The Entityform developer has an honest overview of when to use Entityform or other options

Bạn thấy bài viết này như thế nào?: 
Average: 9 (1 vote)
Ảnh của Khanh Hoang

Khanh Hoang - Kenn

Kenn is a user experience designer and front end developer who enjoys creating beautiful and usable web and mobile experiences.

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Google Ngừng Cung Cấp Ứng Dụng Gmail Cho BlackBerry Từ Ngày 22/11

Google Ngừng Cung Cấp Ứng Dụng Gmail Cho BlackBerry Từ Ngày 22/11

Điều này có nghĩa là họ sẽ không phát triển thêm và hỗ trợ kỹ thuật cho ứng dụng này trong tương lai nữa, tuy nhiên những điện thoại này đang được cài ...

Những điều cần biết về nofollow và follow

Trong khi SEO và nhất là Off-page SEO, chúng ta vẫn thường được cảnh báo với nofollow, external nofollow hay đại loại, vậy, nofollow là gì và webmaster cần chú ý gì đến nofollow trong khi xây dựng liên kết.

Giới thiệu quảng cáo PPC-PPA là gì?

Giới thiệu quảng cáo PPC-PPA là gì?

SEM là từ viết tắt của Search Engine Marketing, dịch và hiểu theo nghĩa tiếng Việt là phương pháp tiếp thị thông qua các công cụ tìm kiếm. SEM là một hình thức Internet Marketing và là một phương pháp marketing nhằm tăng sự hiện diện của bạn hay doanh nghiệp, tổ chức thông qua công cụ tìm kiếm.

Công ty diệt chuột T&C

 

Diet con trung