Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Mason Stein
Hook plugin like Knowledge Base or others
October 30, 2013 9:47 AM
Answer

Mason Stein

Rank: Junior Member

Posts: 47

Join Date: December 5, 2012

Recent Posts

Hey,

can please someone explain to me, how I can hook a plugin that I downloaded via Marketplace..like Knowledge Base.

If I create a hook I only can choose from liferay source.

THX a lot!
Jan Geißler
RE: Hook plugin like Knowledge Base or others
October 30, 2013 10:41 AM
Answer

Jan Geißler

Community Moderator

Rank: Liferay Master

Posts: 735

Join Date: July 5, 2011

Recent Posts

Long story short: No.
You can only hook in the Liferay Core. You can not Hook Plugins.

so long!
Jan
Mason Stein
RE: Hook plugin like Knowledge Base or others
October 30, 2013 11:35 AM
Answer

Mason Stein

Rank: Junior Member

Posts: 47

Join Date: December 5, 2012

Recent Posts

Ok,

but can I copy the src folder from the deployed knowledge base folder in Tomcat and create my own "knowledge base" plugin?

I really remember I did something like that some time a go... created an own plugin and pasted the stuff inside,..
When I do it like that, it compiles fine, but when I deploy the site stays blanc.. no error message =(
Vilmos Papp
RE: Hook plugin like Knowledge Base or others
October 30, 2013 2:09 PM
Answer

Vilmos Papp

LIFERAY STAFF

Rank: Liferay Master

Posts: 521

Join Date: October 21, 2010

Recent Posts

I think you can download the src also from the Marketplace. If you put it under a plugins SDK portlet project you should be able to customize it for your needs.
Jan Geißler
RE: Hook plugin like Knowledge Base or others
October 31, 2013 7:34 AM
Answer

Jan Geißler

Community Moderator

Rank: Liferay Master

Posts: 735

Join Date: July 5, 2011

Recent Posts

Best would be to fork the project on github if available.
Vilmos Papp
RE: Hook plugin like Knowledge Base or others
October 31, 2013 8:39 AM
Answer

Vilmos Papp

LIFERAY STAFF

Rank: Liferay Master

Posts: 521

Join Date: October 21, 2010

Recent Posts

Actually it can be forked, but it' s the development branch, not the version that can be downloaded from Markteplace (has the fixes/improvements that are added to that branch since the release)

See: https://github.com/liferay/liferay-plugins/tree/6.1.x/portlets/knowledge-base-portlet
Jan Geißler
RE: Hook plugin like Knowledge Base or others
October 31, 2013 10:02 AM
Answer

Jan Geißler

Community Moderator

Rank: Liferay Master

Posts: 735

Join Date: July 5, 2011

Recent Posts

So do a Branch from the 6.1 GAX Tag. All Releases are tagged and you can branch from a specific commit/snapshop/tag.

https://github.com/liferay/liferay-plugins/tree/6.1.2-ga3/portlets/knowledge-base-portlet
Vilmos Papp
RE: Hook plugin like Knowledge Base or others
November 1, 2013 3:22 AM
Answer

Vilmos Papp

LIFERAY STAFF

Rank: Liferay Master

Posts: 521

Join Date: October 21, 2010

Recent Posts

You're right, I missed the tags ;-)