Authors Configuration
News articles may include an author along with the date. It displays following the date and will activate a popup with author details. Including an author involves creating author files, configuring the channel, and specifying an author with a story.
Author Files
- Create a subdirectory within assets called authors
- Using the People content type, create a file called default.html. This is the default author file. It displays a default author when a specific author is not associated with a story. It is required. Include name and email address. A phone number may also be added.
- Create additional author files using the People content type.
- For Name, use the firstname-lastname naming convention with no extension.
- Include Name and Email. A phone number may also be added.
- Save file.
- Be sure to publish the directory and files before associating with stories.
Channel Configuration
Add these configurations to the channel that contains the stories:
| Configuration | Value |
|---|---|
| Parameter Configuration | displayContact=on relatedPeopleBy=• By: |
The relatedPeopleBy= configuration allow you to specify the separate used as well as any text label before the author. You will need to use the code for any HTML special characters. (For example, use • for a bullet or – for an n-dash.)
Story Setup
All stories will display the default author unless a specific one is associated with the article.
- Using the Related People property of the article, search for the author filename.
- Select from the list, and choose Add to List.
- Save the page changes.