Loading Audio...
Adding Inline Content to Clarity's Pages
While structured content provides consistency and reusability, not all content is meant to be reused. For unique, page-specific items, Liferay provides inline authoring with fragments. This approach is ideal for one-off updates, like changing the main headline on a homepage. However, this approach should be used judiciously, as overuse can create maintenance overhead. Clarity plans to use inline content strategically for unique items, while relying on structured content for their reusable information.
In these exercises, you’ll add inline content to Clarity’s pages.
Exercise: Authoring Clarity’s Inline Content
Clarity needs to add inline content to their Home and FAQ pages. Here, you’ll author this content as the Clarity Admin user.
-
Sign in as the Clarity Admin user.
-
Username:
admin@clarityvisionsolutions.com -
Password:
learn
-
-
Navigate to the Home content page and begin editing it.
-
Double click the Heading fragment in the Banner Content container.
-
Delete the current placeholder text and enter
Elevate Your Brand with Premium Eyewear. -
Scroll down to the See the Difference container and double click the paragraph element.
-
Delete the current placeholder text and enter this:
Content Our goal is to be your trusted partner in eye care, offering unparalleled support and collaboration to achieve your vision. Elevate your brand with premium eyeglass frames and lenses. -
Click Publish to save the changes.
This completes the inline content for Clarity’s Home page. -
Navigate to the FAQ page and begin editing it.
-
Double click the Page Title heading element.
-
Delete the current placeholder text and enter
General FAQs. -
Scroll down to the Promoted Articles section and update the heading to
Helpful articles from our team!. -
Click Publish.
By using inline content strategically, Clarity can deliver timely, page-specific updates while preserving the consistency provided by structured content.
Conclusion
Well done! You added inline content to Clarity’s Home and FAQ pages. By using inline content strategically for unique, one-time elements, you can keep key pages fresh without creating unnecessary maintenance overhead.
Next, you’ll explore how to leverage artificial intelligence to generate content.
Capabilities
Product
Education
Knowledge Base
Contact Us