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.
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.
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.
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.
Adding the Person CF to your agency's Media Contacts XF
1. From the landing Navigation page, click on 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.
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.
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.
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.
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.