Skip to content

Content Type Biography

bryanpizzillo edited this page Aug 22, 2019 · 22 revisions

Things to Discuss

  • Wireframe uses Recommended Content (feature cards/clickbait) at the bottom of the page. These should not have (or at least not display) a header. This is different than the requirements for the blog series.

Naming

  • Display Name: Biography
  • Machine-readable Name: cgov_biography

Description

A page to provide a staff member's basic information (such as title, organization, phone number, email), as well as highlight areas of research expertise and interest.

Fields

Common Fields

Unique Fields to This Content Type

System Title* (locally labelled Full Name)

  • Field Name: This should be the Entity(node, media) Title
  • Label: Full Name
  • Type: This should be the Entity(node, media) Title
  • Required: Yes
  • Max characters: 255
  • Tooltip Text: Should be full name as you wish to appear in the H1
  • Cardinality: 1
  • Translatable: Yes

First Name*

  • Field Name: field_first_name
  • Label: First Name
  • Type: Text (plain)
  • Required: Yes
  • Max characters: 50
  • Tooltip Text:
  • Cardinality: 1
  • Translatable: No

Middle Name/Middle Initial

  • Field Name: field_middle_name
  • Label: Middle Name/Middle Initial
  • Type: Text (plain)
  • Required: No
  • Max characters: 50
  • Tooltip Text:
  • Cardinality: 1
  • Translatable: No

Last Name*

  • Field Name: field_last_name
  • Label: Last Name
  • Type: Text (plain)
  • Required: Yes
  • Max characters: 50
  • Tooltip Text:
  • Cardinality: 1
  • Translatable: No

Prefix

  • Field Name: field_prefix
  • Label: Prefix
  • Type: Text (plain)
  • Required: No
  • Max characters: 50
  • Tooltip Text: Titles or designations that appear before a name (Dr., etc.)
  • Cardinality: 1
  • Translatable: Yes

Suffix

  • Field Name: field_suffix
  • Label: Suffix
  • Type: Text (plain)
  • Required: No
  • Max characters: 50
  • Tooltip Text: Titles or designations that appear after a name (Ph.D., M.S., etc.). Multiple titles should be separated with commas
  • Cardinality: 1
  • Translatable: Yes

Title

Create as a repeating field so users can enter multiple titles

  • Field Name: field_title
  • Label: Title
  • Type: Text (plain)
  • Required: No
  • Max characters: 150
  • Tooltip Text: Official titles for roles within NCI
  • Cardinality: Multi
  • Translatable: Yes

Organization 1 Name

  • Field Name: field_org_name_1
  • Label: Organization 1 Name
  • Type: Text (plain)
  • Required: No
  • Max characters: 255
  • Tooltip Text: Generally a Division name
  • Cardinality: 1
  • Translatable: Yes

Organization 1 URL

  • Field Name: field_org_url_1
  • Label: Organization 1 URL
  • Type: Text (plain)
  • Required: No
  • Max characters: 100
  • Tooltip Text: URL of organization, if applicable. Include the http://
  • Cardinality: 1
  • Translatable: Yes

Organization 2 Name

  • Field Name: field_org_name_2
  • Label: Organization 2 Name
  • Type: Text (plain)
  • Required: No
  • Max characters: 255
  • Tooltip Text: Generally a Subdivision or Lab
  • Cardinality: 1
  • Translatable: Yes

Organization 2 URL

  • Field Name: field_org_url_2
  • Label: Organization 2 URL
  • Type: Text (plain)
  • Required: No
  • Max characters: 100
  • Tooltip Text: URL of organization, if applicable. Include the http://
  • Cardinality: 1
  • Translatable: No

Campus

  • Field Name: field_campus
  • Label: Campus
  • Type: Dropdown:
    • NCI Shady Grove Campus
    • NIH Bethesda Campus
    • NCI Frederick Campus
    • NCI Advanced Technology Research Facility
  • Required: No
  • Tooltip Text:
  • Cardinality: 1
  • Translatable: Yes

Building/Office Room Number

  • Field Name: field_office_location
  • Label: Building/Room Number
  • Type: Text (plain)
  • Required: No
  • Max characters: 50
  • Tooltip Text: Building number and room number should be prefixed with identification, and separated with a comma (Building 31, Room 7492)
  • Cardinality: 1
  • Translatable: Yes

Phone Number

  • Field Name: field_phone_number
  • Label: Phone Number
  • Type: Text (plain)
  • Required: No
  • Max characters: 50
  • Tooltip Text: Phone numbers should only use dashes, no parentheses. Extensions should be indicated with a comma and then ext. 555-555-5555, ext. 555 1-800-555-5555
  • Cardinality: 1
  • Translatable: No

Email Address

  • Field Name: field_email_address
  • Label: Email Address
  • Type: Text (plain)
  • Required: No
  • Max characters: 100
  • Tooltip Text:
  • Cardinality: 1
  • Translatable: No

LinkedIn Profile handle

  • Field Name: field_linkedin_handle
  • Label: LinkedIn Profile handle
  • Type: Text (plain)
  • Required: No
  • Max characters: 100
  • Tooltip Text: Enter just the profile name for the LinkedIn page, as it appears at the end of the profile URL: https://www.linkedin.com/in/profilename is profilename
  • Cardinality: 1
  • Translatable: No

Twitter Profile handle

  • Field Name: field_twitter_handle
  • Label: Twitter Profile handle
  • Type: Text (plain)
  • Required: No
  • Max characters: 50
  • Tooltip Text: Enter just the twitter profile name, as it would appear at the end of the profile URL: https://www.twitter.com/profilename is profilename
  • Cardinality: 1
  • Translatable: No

Scientific Publications

  • Field Name: field_scientific_publications
  • Label: Scientific Publications
  • Type: Text (plain)
  • Required: No
  • Max characters: Unlimited
  • Validation Rules
    • Valid URL
  • Tooltip Text: Link to individual publication or listing of scientific publications. Include the http://. Text on front end will read “Scientific Publications”
  • Cardinality: 1
  • Translatable: Yes

Press Information for Journalists

When the biography content type is installed, the content block for the journalists needs to be created.

  • Field Name: field_display_bio_press_info
  • Label: Show Press Information for Journalists
  • Type: Dropdown
    • Display
    • Do Not Display
  • Required: No
  • Cardinality: 1
  • Translatable: Yes
  • Notes: In order to allow content owners to edit a reusable content block on the biography content type:
    • We need to add a "bio_press_info" region into which the content block is placed
    • Then, on install:
      • Create a content block (name of the block should be Press Information for Journalists)
      • Add the block to the bio_press_info region
    • In the template for displaying Biography, if Show Press Information for Journalists is selected, then draw the bio_press_info region. If not, don't draw it.

Meta Data

Common Metadata

TBD

Local Metadata

TBD

Form Display Order

How the fields should display on the form

  • Language Dropdown
  • Site Sections
  • Pretty URL
  • System Title
  • Browser Title
  • Card Title
  • Meta Description
  • List Description
  • Feature Card Description
  • First Name
  • Middle Name/Middle Initial
  • Last Name
  • Prefix
  • Suffix
  • Title
  • Organization 1 Name
  • Organization 1 URL
  • Organization 2 Name
  • Organization 2 URL
  • Campus dropdown
  • Building/Room Number
  • Phone Number
  • Email Address
  • LinkedIn Profile handle
  • Twitter Profile handle
  • Scientific Publications
  • Press Information for Journalists
  • Body Text
  • Promotional Image
  • Posted Date
  • Updated Date
  • Reviewed Date
  • Date Display Mode
  • Related Resources
  • Search Engine Restrictions

Page Display

https://publicis.invisionapp.com/share/DENSHOENKBR#/screens

  • This will reuse the same template for display as Cancer Centers Content Type
    • Image will need to be flexible - max width, flexible height

Clone this wiki locally