掲示板

Problem while extending Community Portlet

thumbnail
13年前 に ankit yakkundi によって更新されました。

Problem while extending Community Portlet

Regular Member 投稿: 221 参加年月日: 10/03/05 最新の投稿
hi..
I am extending communities portlet.But i am not able to add "Add Community" button on the form as well as i am not able to use the various actions. It gives an error "You do not have the roles required to access this portlet". Since i have logged in as an administrator , i should be able to access it..

Can anyone tell me the solution for these two problems...
I am refering "Liferay Portal 5.2 System Development".

waiting for solution...
thumbnail
13年前 に Archi Madhu によって更新されました。

RE: Problem while extending Community Portlet

Regular Member 投稿: 237 参加年月日: 08/03/25 最新の投稿
Hi there,

If you want all community members to see your portlet and perform various actions,
you need to give permission for same.

Go to control panel>roles>community member>add portlet permission>community portlet

give view permission for users there.

Non admin user should be able to see and perform actions for community portlet.

HTH!
Archi
thumbnail
13年前 に ankit yakkundi によって更新されました。

RE: Problem while extending Community Portlet

Regular Member 投稿: 221 参加年月日: 10/03/05 最新の投稿
Now add community button is visible and is working properly. but the action are not working properly.. it is still giving error..i have set the permissions,role for users..
it is also giving error in tomcat

"The struts path communities does not belong to portlet extCommunities.Check definition in liferay-portlet.xml"

.

Can anyone tell the solution for this problem....
thumbnail
13年前 に Archi Madhu によって更新されました。

RE: Problem while extending Community Portlet

Regular Member 投稿: 237 参加年月日: 08/03/25 最新の投稿
Hi Ankit,

The error is clearly mentioning that in your portlet you are calling action of community portlet. To achieve it you need to create your strut actions nad forward it to action classes of community portlet.


HTH!
-Archi
thumbnail
13年前 に ankit yakkundi によって更新されました。

RE: Problem while extending Community Portlet

Regular Member 投稿: 221 参加年月日: 10/03/05 最新の投稿
Hi Archi Madhu

Thanks for the reply and sorry for the late reply...
Can you please explain me in detail what i need to do?
Can you also tell me how can i extend the following portlets in detail.Please....
Document library
Message board


Any ideas or suggestions are welcome..

Thanks again...

Ankit