Managing Clarity's Distributor Assets
Asset libraries centralize design assets, enabling reusability across Liferay sites. This accelerates development and facilitates brand consistency. During their initial site implementation, Clarity created several asset libraries for their general public pages. Now Clarity needs a dedicated library for storing distributor-specific assets that they'll use in restricted pages and distributor-targeted content.
In this article, you'll create and configure this library for Clarity's distributors.
Exercise: Creating an Asset Library for Distributor Assets
Here, you'll create an asset library to centralize Clarity's distributor-specific assets.
-
In your running Liferay instance, sign in as the Clarity Admin user.
- Username:
admin@clarityvisionsolutions.com
- Password:
learn
- Username:
-
Open the Global Menu (
), go to the Applications tab, and click Asset Libraries. -
Click New to create an asset library.
-
Enter
Distributors
for name. -
Click Save.
This creates the library and redirects you to its settings page. -
Enter this text for description:
-
Click Save.
Great! Now that you've created the library, you can start adding assets to it.
Exercise: Adding Assets to the Asset Library
Here, you'll add distributor assets to the new library.
-
Go to the Asset Libraries application in the Global Menu (
). -
Click Distributors to access its applications and begin adding content.
-
Click Documents and Media.
-
Click New and select Folder.
-
Enter
Banners
for name and click Save. -
Navigate into the Banners folder.
-
Click New and select Multiple Files Upload.
-
Click Select Files, navigate to the
exercises/module-2/banners/
folder in your course workspace, and select all files. -
Click Publish.
-
Return to the Documents and Media root folder.
-
Repeat steps 4-9 to create a
Product Photos
folder and upload theexercises/module-2/product-photos/
images.
Great! You've populated the Distributors asset library. Next, you'll configure the library's permissions and connect it to Clarity's site.
Exercise: Configuring the Distributors Asset Library
Here, you'll configure access to Clarity's new asset library and connect it to their marketing website.
-
In the Distributors asset library menu, click Memberships under the People section.
-
Go to the User Groups tab.
-
Click New, select the Distributors user group, and click Done.
This assigns all users in the Distributors user group as members of the asset library.
-
Return to the Distributors menu and click Asset Library Settings under Configuration.
-
Go to Sites in the left panel.
-
Click Add and select Clarity Public Enterprise Website.
Great! You've configured the asset library's permissions and connected it to Clarity's website. With the appropriate permissions, site members can access and manage the library's content. Next, you'll use the assets in Clarity's Tickets page.
Exercise: Adding Assets to the Tickets Page
Here, you'll use the Distributors asset library to add a banner image to the Tickets page.
-
Open the Global Menu (
) and go to Clarity Public Enterprise Website. -
Navigate to the Tickets page and start editing it.
This page is only visible to distributor and administrator users. -
Select the Clarity Distributor Banner container.
-
In the right configuration panel, go to the Styles tab.
-
Under Background, click Select Image (
) for the Background Image field. -
Click Sites and Libraries in the breadcrumb menu.
-
Go to the Asset Library tab.
This displays all asset libraries connected to this site. -
Select the Distributors library.
-
Go to the Banners folder and select the distributor-banner-left image.
This sets the image as the banner's background. -
Click Publish.
With this, Clarity can leverage the Distributors asset library to consistently populate their distributor-specific pages.
Conclusion
Great! Asset libraries enable content creators to reuse design media across multiple Liferay pages and sites. This is crucial for delivering a cohesive and unified experience within Clarity's future distributor solutions.
Next, you'll continue exploring asset libraries and learn the fundamentals of design asset management.
Capabilities
Product
Education
Contact Us