A "Gotcha!" situation came up when you need to add your custom portlet to the control panel section.
Now the important thing is that as a developer you can actually decide which of the items on the left menu are shown. in simple words which section of liferay control panel is display.
Furthermore you can add any custom portlet to the desired place[portal, server, content] in the left menu and make it part of the Control Panel. Custom portlet's liferay-portlet.xml need some entries to be place your custom portlet at desired place in Control Panel. That is look similar to this:
<control-panel-entry-category>portal</control-panel-entry-category> <control-panel-entry-weight>1.0</control-panel-entry-weight>
=> The first element determines to which section of the menu will the portlet be added
This entry value may be very based on liferay version. here i have given control panel category for Liferay 6.1 and 6.2.
1 ) Liferay 6.1 control panel category values of either my, content, portal, server to place the portlet in the area in the control panel.
2) Liferay 6.2 control panel category values is extended from the previous version. possible value listed below.
For My Account Section : my
For Control Panel Section: users, sites, apps, configurationFor Site Administration Section: site_administration.pages, site_administration.content, site_administration.users, site_administration.configuration
=> The second one determines the position. default value is 1.5.
After doing above configuration for your custom portlet, please deploy and check your control panel respected section.
You are done with what all you need to do, Enjoy!!
HTH!!
Thanks,
Ketan Savaliya