문제

How do I achieve the following Use Case?

Use Case Example
Widgets, Inc. offers franchising opportunities. They have 3 different franchising levels (bronze, silver and gold).

Widgets, Inc. needs to create a Incident Report(Add New Content) any time an associated franchise has a problem.

They need 3 different types of Incident Reports(Content Types).

  1. Bronze Incident Report
  2. Silver Incident Report
  3. Gold Incident Report

Each Incident Report contains two elements:

  1. Text field for entering report
  2. A static, uneditable list of Franchises within the same tier(Bronze, Silver and Gold)

The problem is in adding the second element. I am not sure how to do this. The second element represents a secondary data source, created from an HTML or PHP page.

도움이 되었습니까?

해결책

The answer is: https://www.drupal.org/project/iframe

"A custom field, which lets you add a complete iframe to your content types; including Src-URL, setting width and height, optionally a title above, and optionally a target attribute."

This gives a user the ability to import data from a secondary source.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 drupal.stackexchange
scroll top