Way to get more than one instance of a portlet
Open liferay-portlet.xml file
edit the file
<portlet>
<portlet-name>AddOnDirectory</portlet-name>
<icon>/icon.png</icon>
Open liferay-portlet.xml file
edit the file
<portlet>
<portlet-name>AddOnDirectory</portlet-name>
<icon>/icon.png</icon>
<instanceable>false</instanceable> --- modified this to
<instanceable>true</instanceable>
Then deploy to server. After that add your portlet instance as many you want on a page.
No comments:
Post a Comment