Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ryan Rouville
Directory Portlet Modification
July 9, 2009 5:43 AM
Answer

Ryan Rouville

Rank: Junior Member

Posts: 57

Join Date: April 2, 2009

Recent Posts

Hello,

I would like to do a small modification on the directory portlet. I would just like to change a few things in the template. How can I find the source code for this portlet and export it to a War file so I can deploy it in Liferay?

I'm open to any other solutions.

Thanks in advance.
Albert J Carter-Corbin
RE: Directory Portlet Modification
July 28, 2009 7:00 PM
Answer

Albert J Carter-Corbin

Rank: Regular Member

Posts: 123

Join Date: September 11, 2006

Recent Posts

You can get the source code from the download page:
http://www.liferay.com/web/guest/downloads/additional

Or SVN:

http://svn.liferay.com/repos/public

You can also download the plugin sdk and copy the directory jsp pages and make modifications to the files there.
Ryan Rouville
RE: Directory Portlet Modification
July 30, 2009 12:23 AM
Answer

Ryan Rouville

Rank: Junior Member

Posts: 57

Join Date: April 2, 2009

Recent Posts

I've made a hook for the modifications. Still, thanks for the tips. I'll try and have a look at the plugin SDK. It could be interresting.
Albert J Carter-Corbin
RE: Directory Portlet Modification
July 30, 2009 6:50 AM
Answer

Albert J Carter-Corbin

Rank: Regular Member

Posts: 123

Join Date: September 11, 2006

Recent Posts

A hook is definitely a good way to make the modification if you didn't want to create a separate portlet or modify the source. I forgot about that method.
Smilelws2010 lwz
RE: Directory Portlet Modification
August 31, 2012 8:41 AM
Answer

Smilelws2010 lwz

Rank: Regular Member

Posts: 160

Join Date: December 16, 2010

Recent Posts

HI Albert,

I am trying to duplicate the directory porltet with some slight modifications. I know most of it can beachieved through a hook, but we have a requirement for a second portlet.

Could you please help me. I have downloaded the 6.1 portal source

I need to know about how to package the duplicate portlet with the original liferay jsps, java classes. And what kind of configuration files needs to be copied etc.

Advise please.