Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Need to display multiple sites below Liferaysite
Hello,We are working on a migrating project and migrating from Liferay6.1 to Liferay 7.1.3 Using Wildfly11 Server.
In 7.1 , Instead of going to Control Panel->Sites->Sites and access sites,is there a way, we can list all the sites below the Lifeyray site.
Thanks
Prabakar
In 7.1 , Instead of going to Control Panel->Sites->Sites and access sites,is there a way, we can list all the sites below the Lifeyray site.
Thanks
Prabakar
Where/How do you want to show it?
You can e.g. use the API to iterate through the list of groups (sites are groups). Something like this:
https://liferay.dev/forums/-/message_boards/message/28909357
You can e.g. use the API to iterate through the list of groups (sites are groups). Something like this:
https://liferay.dev/forums/-/message_boards/message/28909357
Please refer the attached screenshot. We would like to add list of sites to the Product menu so that user can access the sites easily instead of going around Control Panel. Here we could see only one site namely Liferay. In that Place, we want to list few more sites. How could we achieve this?
Attachments:
In general you would need to customize the product menu. The code in the link above shows you how to get the sites in general.
https://help.liferay.com/hc/en-us/articles/360018167671-Customizing-the-Product-Menu
I am not sure if it is really easy to add multiple entries in the product menu, that's not how it is build. You could easily add a component that shows the sites in the right panel when clicked. Maybe it is easier to add the menu you want to the top.
https://help.liferay.com/hc/en-us/articles/360017888812-Creating-Control-Menu-Entries
I am not sure what's possible here, you will probably have to read the documentation and experiment yourself a bit.
https://help.liferay.com/hc/en-us/articles/360018167671-Customizing-the-Product-Menu
I am not sure if it is really easy to add multiple entries in the product menu, that's not how it is build. You could easily add a component that shows the sites in the right panel when clicked. Maybe it is easier to add the menu you want to the top.
https://help.liferay.com/hc/en-us/articles/360017888812-Creating-Control-Menu-Entries
I am not sure what's possible here, you will probably have to read the documentation and experiment yourself a bit.
Hi ,If your only looking for listing and navigating of sites, then one more option is you can use "Site directory" or "My site" portlet
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™