Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
raghu raghu
Difference between hook and ext
April 16, 2013 11:45 PM
Answer

raghu raghu

Rank: New Member

Posts: 4

Join Date: November 2, 2011

Recent Posts

Hi All,

I am new to liferay world..

We are using liferay6.0.5 CE.

I goggle to know the difference between hook and ext.And got the below link.

http://www.liferay.com/community/forums/-/message_boards/message/12555000.

But I have some questions regarding ext: and hook

i)why it's not possible to deploy more than one ext plugin per Liferay installation.

ii)Can we use liferat-src bundle for hook? or it is only for ext.

iii)Can we please explain with example about the limitation of Hook. over ext.

iv)Can we change the action page of the portlet through hook(Both for out of box portlet and custom portlet).

Thanks In Advance

Raghu
Raja Seth
RE: Difference between hook and ext
April 16, 2013 11:49 PM
Answer

Raja Seth

Rank: Regular Member

Posts: 123

Join Date: August 18, 2011

Recent Posts

raghu raghu
RE: Difference between hook and ext
April 17, 2013 12:15 AM
Answer

raghu raghu

Rank: New Member

Posts: 4

Join Date: November 2, 2011

Recent Posts

Hi Raja,

Thanks for an early response.

i checked your url as well as the below url.
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/extending-and-customizing-lifer-3.

But still not able to get my all answers.

Suppose i would like to change the date format of calender portlet with out custom format,

Then should i go for hooks or ext so that our goal will fulfill. ?

Thanks
Raja Seth
RE: Difference between hook and ext
April 17, 2013 12:28 AM
Answer

Raja Seth

Rank: Regular Member

Posts: 123

Join Date: August 18, 2011

Recent Posts

raghu raghu:
Hi Raja,

Thanks for an early response.

i checked your url as well as the below url.
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/extending-and-customizing-lifer-3.

But still not able to get my all answers.

Suppose i would like to change the date format of calender portlet with out custom format,

Then should i go for hooks or ext so that our goal will fulfill. ?

Thanks



HI Raghu,

This might help you..
http://www.liferay.com/community/forums/-/message_boards/message/11416842

Regards,
Raja
Joaquin Cabal
RE: Difference between hook and ext
April 18, 2013 6:30 AM
Answer

Joaquin Cabal

Rank: Junior Member

Posts: 49

Join Date: September 7, 2009

Recent Posts

Hi Raghu,
Hooks are specifically for override some events, services, properties or jsp files.

Ext, are used for all that you want to override but, you can't do it by a hook.

I think all you can override through a jsp , you should use a Hook, like the date example

Regards!