Experience Fragments

Media Contacts Component + Person Content Fragment

Media Contacts appear on Agency News Article pages below the main content. They provide the press contacts for the agency. Each contact is created as a Person Content Fragment (CF), then grouped as the agency’s Media Contacts in an Experience Fragment (XF). The XF is then added to the template. If a Person CF or Media Contacts XF is edited, changes will reflect across all of the agency's Agency News Article pages.

Overview

Component name: Media Contacts

Authors who can use component: any

Templates/page types that can use component: Agency News Article template

Required or optional: optional on Agency News Article template

Authoring Fields

Creating a Person Content Fragment 

1. From the landing Navigation page, click on Content Fragments.

Navigation page featuring Content Fragments

2. On the left hand panel, select PAGov folder, then English, then your agency folder, then Content Fragments folder. You may create additional subfolders to organize if desired.

Once selected, click “Create” in the upper righthand corner. In this example, the CF is in the Board of Pardons folder.

Agency folders where Contact Fragment is needed

3. New Content Fragment

a. Location pathfinder: This field shows the URL of the folder selected in Step 2. It does not need to be edited.

b. Content Fragment Model dropdown: Select “Person.”

c. Properties fields

  i. Title: Provide a title for your Person CF. Adding a title automatically creates a name as well.

  ii. Name: Optionally modify the CF name (otherwise will be created through the step above).

  iii. Description: Optionally provide a description for your CF.

Property fields of new content fragment

4. Click “Create and open” to add detail to the Person CF immediately. Click “Create” to create the Person and exit the authoring dialog- it can always be edited later.

Editing the Person Content Fragment

1. Person Type dropdown: For Media Contacts, select Media tag.

2. Agency dropdown: Select your agency tag.

3. Name field: Add the person’s name.

4. Title field: Optionally add the person’s title.

5. Department Name field: Optionally add the person’s department name.

6. Email field: Optionally add the person’s email.

7.  Phone Number field: Optionally add the person’s phone number.

8.  Click “Publish” button and “Publish Now” in the top right corner.

Person Content Fragment in its editing state with fields to edit

Adding the Person CF to your agency's Media Contacts XF

1.  From the landing Navigation page, click on Experience Fragments.

Navigation landing page with the option to select Experience Fragments

2. Click through until you find your agency’s folder and the XF you wish to edit. In this example, the CF was made in the DHS folder. The XF is found in CoPA PWP PAGov Fragments > English > DHS > Media Contacts.

3. Click the checkmark next to Media Contacts, then click Edit.

Experience Fragments folder for DHS agency

4.  The XF opens in edit mode. If it is already in use on the DHS Agency News Article template, it shows the Person CFs that currently display.

Media Contacts XF for DHS in edit mode

5. With the edit wrench, open the component.

6. Media Contacts authoring dialog

a.  Title field: Enter text to display above the Media Contacts on the Agency News Article template.

b. Person Content Fragments pathfinder field: Enter the path to the Person CF that was created above.

c. Add button: Add as many Person CFs as needed.

Media Contacts authoring dialog

7. Click Done in the dialog. The new Person CF now displays on the Media Contacts XF. It saves automatically.

8. Your agency's Agency News Article template – both new ones that are created, and already-published old ones – will show the updated Media Contacts XF.

Updated Media Contacts XF on the Agency News Article template

Accessibility

  • There are no specific accessibility notes for the Person CF or Media Contacts XF/component.

Other tips

  • Do not use "Media Contacts" as the title/name of any other Experience Fragments. Only the Social Media XF as added to the Agency News Article template may have this name.
  • There is no limit to the number of contacts added in one Media Contacts component.
  • Each agency is advised to use their own Media Contacts component, so as not to reference each other's.
  • Contacts can be removed from the Media Contacts XF. In the XF edit mode, open the authoring dialog. Select the trash icon next to the Person CF who should be removed. Changes will reflect across all of your agency’s Agency News Article templates.