Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6326935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:11:08+00:00 2026-05-24T17:11:08+00:00

For a website powered by Liferay EE 6.0 SP1, there will be cases where

  • 0

For a website powered by Liferay EE 6.0 SP1, there will be cases where some pages will need to “share” the same instance of certain portlets, but other pages will have their own instances.

For example (contrived, but hopefully illustrative), consider a portlet with a preference that changes the portlet’s background color.

Suppose that we have the following pages (the portlet’s background color on that page follows the page name in this list):

Home          (green)
├─ About      (blue)
│  └─ Contact (blue)
├─ Products   (orange)
│  ├─ AXL-900 (orange)
│  └─ VCC-218 (orange)
├─ Support    (red)
│  └─ VIP     (gold)
└─ Legal      (green)

Note that on several pages, the portlet has the same background color preference. So far, that’s easy enough; you just add a separate instance of the portlet to each page and set the preference appropriately.

However, the content managers don’t want to manage the background color on a per-page basis; they want to, for example, change the background color for the portlet on all the “About” pages to purple, all at the same time (this makes sense; it automates what would otherwise be a manual [and by definition, error-prone] process).

For this to work, either the “About” and “Contact” pages, for example, would both have to use the same instance of the portlet… or they would have to have separate instances, but both instances would share the same preference values. Or perhaps there is a different approach.

Is there a way to make this work?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:11:08+00:00Added an answer on May 24, 2026 at 5:11 pm

    It looks like the way to go is to create named sets of settings and let each page have its own instance of the portlet.

    In the example from the OP, the Products page would have a unique instance of the portlet which would be configured to use e.g., the “orange” setting set. Any changes made to the portlet’s settings would subsequently affect any other portlets using the “orange” setting set.

    See http://www.liferay.com/community/forums/-/message_boards/message/10361805#_19_message_10382903 for more information.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a (Wordpress powered) website, and Google is indexing some of the sub-directories.
I am working on an Orbited -powered website and I'm experiencing some annoying behavior
I need to automate navigation around a JavaScript powered website in Python so I
I'm creating a Django powered website that will have numerous applications (Blog, Shop, Portfolio,
As part of the development for a website powered by Sitecore 6.3.1, I will
I have a quite large website, in which there is a forum powered by
I have a website powered by django. There are few url patterns which i
Since there's currently no complete solution to build a modX powered website with integrated
My friend and I are collaborating on a ASP.NET powered website. To develop it
Files: Website\Controls\map.ascx Website\App_Code\map.cs I'd like to create a strongly typed instance of map.ascx in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.