Creating a Publication Template for Clarity’s Special Events
Clarity wants to celebrate its 50th anniversary with some special frames available only for a limited time. They must prepare content across the site to announce the event and show off the frames. This will result in a one-time content push for releasing the frames and marketing materials all at once. For this kind of dedicated content push, where multiple content creators can work together until the final version is ready, use Publications.
Kyle Klein enables Publications, gives the users the right permissions (Content Manager Role), and then Preston Palmer creates the 50th Anniversary publication.
Within the new publication, Rex Randle creates the new event (make sure it’s under workflow, which currently is for FAQs). Olivia O’Neal approves the event, makes the change to the fragment on the master page, and adds the item to the navigation menu.
To enable publications in Liferay,
-
Log in with the administrator Kyle Klein:
Email Address: kyle@clarityvisionsolutions.com
Password: learn
-
Open the Global Menu () → Applications → Publications.
-
Toggle Enable Publications. New options appear.
- Do not enable Sandbox Only. Publication users can select the publication to work on manually when they log in.
- Do not enable Allow Unapproved Changes. In this scenario users must not publish unapproved changes to production.
-
Click Save to save your configuration. You’re redirected to the Publications application page, and the publications bar appears:
Creating a Special Event Publication Template
You can jump right in and create the publication, but Clarity is likely to have more special events in the future, and these will require similar publications. To streamline this, Kyle can create a publication template:
-
Open the Global Menu () → Applications → Publications.
-
Click Actions () → Templates.
-
Click New and enter
Template Name: Special Event
Description: Create content in preparation for a special event
-
Click Default Template to set this template as the default for new publications.
-
Expand Publication Information and enter the Publication Name:
REPLACE THIS: ${CURRENT_USERNAME}, ${TODAY_DATE}
.See Using Publication Templates for more information.
-
Expand Publication Collaborators and click Add Users.
-
In the Invite Users dialog, search for and add users to these publication roles:
- Administrator: Preston Palmer
- Editor: Olivia O’Neal
- Editor: Rex Randle
Importantly, publications roles only grant permission for viewing or managing the publication itself, and do not grant page and content editing permission. These permissions must be given explicitly. See Assigning Roles to Publication Collaborators to see the permissions these roles provide their users.
-
Click Save and confirm that you’d like to invite these users.
-
Click Create to finish adding the publication template.
Clarity’s special events template is in place.
Next: create the publication and make the necessary content edits.