Foren
adding custom portlet in control pannel
sasmita swain, geändert vor 11 Jahren.
adding custom portlet in control pannel
Regular Member Beiträge: 183 Beitrittsdatum: 24.02.12 Neueste Beiträge
hi
i am creating new user with different id..i want to display custom portlet in controlpannel..when i am login by test test, my custom portlet is displaying in my controlpanel.but when i am loging by different userid it is not displaying in controlpannel
can anybody helpme?
Thanks in advance
i am creating new user with different id..i want to display custom portlet in controlpannel..when i am login by test test, my custom portlet is displaying in my controlpanel.but when i am loging by different userid it is not displaying in controlpannel
can anybody helpme?
Thanks in advance
Sampsa Sohlman, geändert vor 11 Jahren.
RE: adding custom portlet in control pannel
Regular Member Beiträge: 230 Beitrittsdatum: 27.09.07 Neueste Beiträge
Hi Sasmita,
Look the liferay-portlet.xml
Look the following entries and read the docs from those
Look the liferay-portlet.xml
Look the following entries and read the docs from those
<control-panel-entry-category>..</control-panel-entry-category>
<control-panel-entry-class>..</control-panel-entry-class>
<control-panel-entry-category>..</control-panel-entry-category>
sasmita swain, geändert vor 11 Jahren.
RE: adding custom portlet in control pannel
Regular Member Beiträge: 183 Beitrittsdatum: 24.02.12 Neueste Beiträge
Thanks for reply
i have added above code in liferay-portlet.xml..it is comming in control panel by test@liferay.com.not comming in different userid
i have added above code in liferay-portlet.xml..it is comming in control panel by test@liferay.com.not comming in different userid
Vishal Panchal, geändert vor 11 Jahren.
RE: adding custom portlet in control pannel
Expert Beiträge: 289 Beitrittsdatum: 20.05.12 Neueste Beiträgesasmita swain:
Thanks for reply
i have added above code in liferay-portlet.xml..it is comming in control panel by test@liferay.com.not comming in different userid
Hi sasmita swain,
Can you please share your liferay-portlet.xml..?
Thanks ,
Vishal R. Panchal
jaid shaik, geändert vor 11 Jahren.
RE: adding custom portlet in control pannel
Regular Member Beiträge: 171 Beitrittsdatum: 08.10.10 Neueste Beiträge
Hi sasmita swain,
I did same in my portal 6.1 CE,
The above code i added in liferay-portlet.xml, The portlet is displaying only for admin.
But if you want display to particular user,
I followed the below steps:
1) First I created role.
2) In Role Define permission--> I given that particular portlet permissions.
3) Then I assigned that role to particular user.
particular User also can view that portlet.
I think the above information helpful to you.
Thanks...
I did same in my portal 6.1 CE,
<portlet>
<portlet-name>videoadmin</portlet-name>
<icon>/icon.png</icon>
<control-panel-entry-category>my</control-panel-entry-category>
<layout-cacheable>true</layout-cacheable>
<add-default-resource>true</add-default-resource>
</portlet>
The above code i added in liferay-portlet.xml, The portlet is displaying only for admin.
But if you want display to particular user,
I followed the below steps:
1) First I created role.
2) In Role Define permission--> I given that particular portlet permissions.
3) Then I assigned that role to particular user.
particular User also can view that portlet.
I think the above information helpful to you.
Thanks...