Assign a Master page to control.panel.layout.friendly.url pages

What is the problem you are trying to solve?

As a Site Administrator, I would like to configure the appearance of the layout defined by the property control.panel.layout.friendly.url=/manage.

Currently, a new page entry is being created in the database for each site:

The problem is that when a user opens certain pages, such as User Notifications, the system doesn’t follow the Master Page configuration assigned to other web pages and is not possible to configure.

What is your project about? (e. g. Intranet, Partner Portal, Enterprise Website, etc)

Enterpriese Website

What is your proposed solution? (optional)

I would like to be able to assign the same Master Page to these administrative pages (e.g., when the user opens “Notifications”) so they align visually with the rest of the site. Could you advise on how to achieve this configuration?

1 Like

If you are open to some custom enhancements, I suggest the following two-step alternative to address this issue:

1. Streamlined Profile Menu

Instead of relying on the default configuration, we can use the OOTB Navigation Menu feature to build a custom profile menu. This approach grants us full control over the displayed items, allowing us to:

  • Show only the required options.

  • Easily add or remove menu items as requirements evolve.

2. Enhanced Notification Integration

We can develop a custom fragment to serve as a wrapper for the OOTB Notifications widget. By creating a dedicated notification page within your site, we can embed this fragment to ensure a more seamless and integrated user experience.

Example of the Custom Notification Fragment:

HTML

<div class="notifications-fragment">
    [@liferay_portlet.runtime portletName="com_liferay_notifications_web_portlet_NotificationsPortlet" /]
</div>

Now you can use Liferay pages to drag and drop custom notification fragment you can also apply master page template for it with your choice of friendly url.

I have provided example of notification widget but you can do same with other OOTB widget also.

Hi @Daniel_Martinez_Cisneros , thanks for submitting this idea!

It started a conversation between a few product teams in Liferay about how and when this could be done. We are marking it as “Not a priority” for now based on the initial feasibility assessment, but it’s something we want to add to the product in the future.

Best,
Liferay Product Team