Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Tor Iver Wilhelmsen
Access denied when using "My communities" maximized
April 28, 2009 5:49 AM
Answer

Tor Iver Wilhelmsen

Rank: Junior Member

Posts: 60

Join Date: December 3, 2008

Recent Posts

We have a need to open "My communities" (not added to a layout) maximized for the user to manipulate communities. However, when we try to use the link below, we get an error that the user does not have the rights to view it. Is there a different link to use? I see that the links used on e.g. the control panel have some additional parameters - are they necessary. We would like to use LiferayPortletURL but the docs aren't very clear on how to create one...

http://server:port/user/screenname/mypage?p_p_id=29&p_p_lifecycle=0&p_p_url_type=0&p_p_state=maximized&p_p_mode=view
Tor Iver Wilhelmsen
RE: Access denied when using "My communities" maximized
June 15, 2009 1:52 AM
Answer

Tor Iver Wilhelmsen

Rank: Junior Member

Posts: 60

Join Date: December 3, 2008

Recent Posts

We found the solution was to add

<add-default-resource>true</add-default-resource>

into the liferay-portlet.xml entry for the portlet.