Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Aaron Paxson
Where to put modified "built-in" portlets?
May 22, 2011 7:50 PM
Answer

Aaron Paxson

Rank: Regular Member

Posts: 103

Join Date: July 27, 2010

Recent Posts

I want to start modifying the built-in blog portlet. The files are located in portal-web/docroot/html/portlet/blogs

Where do I put my modified files so as not to break upgrades or portal moves? Do I create html/portlet/blogs under WEB-INF/classes?
Samuel Kong
RE: Where to put modified "built-in" portlets?
May 22, 2011 8:44 PM
Answer

Samuel Kong

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1433

Join Date: March 10, 2008

Recent Posts

What type of changes are you making? You can probably use a plugin Hook for most of your needs. Take a look specifically at JSP Hook and Portal Service Hook
Aaron Paxson
RE: Where to put modified "built-in" portlets?
May 22, 2011 8:50 PM
Answer

Aaron Paxson

Rank: Regular Member

Posts: 103

Join Date: July 27, 2010

Recent Posts

I'm not sure a hook will be good enough. I want to add additional configuration parameters of the portlet, change/add the JSP display, allow anonymous comments, and maybe add 3 additional fields.
srikanth velugoti
RE: Where to put modified "built-in" portlets?
May 22, 2011 10:05 PM
Answer

srikanth velugoti

Rank: Junior Member

Posts: 78

Join Date: April 24, 2009

Recent Posts

hi aaron,
create an Ext Plugin for the bolgs portlet , it would be a good option i thik.