留言板

Hook a portlet that doesn't come with the portal

Federico Zuppa,修改在12 年前。

Hook a portlet that doesn't come with the portal

New Member 帖子: 8 加入日期: 11-7-26 最近的帖子
I just installed the social-networking portlets and I'm using the Summary one to show the information of a user. I would like to be able to customize it, adding a couple of custom fields that I created. Is this possible? Is there a site or documentation that explains? I tried creating the same structure that I created for portlets inside the portal but that doesn't seem to work
Cheers,
Fede
thumbnail
Pankaj Kathiriya,修改在12 年前。

RE: Hook a portlet that doesn't come with the portal

Liferay Master 帖子: 722 加入日期: 10-8-5 最近的帖子
Hi Federico Zuppa,
You can change it as like your own custom portlet.
Just copy content of socialnetworking-portlet from web apps folder to "plugins/socialnetworking-portlet /docroot" folder and keep build.xml in parallel to docroot.
It works.



Thanks,
Pankaj
thumbnail
Olaf Kock,修改在12 年前。

RE: Hook a portlet that doesn't come with the portal

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
You can find some information in IDE-376. It's a feature request for Liferay-IDE, but the underlying mechanics in Plugins-SDK are already implemented. You can find them in the sample sun portlets in svn (more information in the tickets, it's fairly short, but you'll probably get the mechanics)