Forums de discussion
How do I get all user pages
Benjamin Becker, modifié il y a 14 années.
How do I get all user pages
New Member Publications: 22 Date d'inscription: 11/03/10 Publications récentes
I want to get all pages of the logged in user. Because I want to display the Page names and URLs in a portlet. How could get these page objects.
Amos Fong, modifié il y a 14 années.
RE: How do I get all user pages
Liferay Legend Publications: 2047 Date d'inscription: 07/10/08 Publications récentes
Hi Benjamin,
You should be able to get all user layouts using:
LayoutLocalServiceUtil.getLayouts(long groupId, boolean privateLayout)
and then you can get the URLs using PortalUtil.getLayoutFriendlyURL
You should be able to get all user layouts using:
LayoutLocalServiceUtil.getLayouts(long groupId, boolean privateLayout)
and then you can get the URLs using PortalUtil.getLayoutFriendlyURL