Combination View Flat View Tree View
Threads [ Previous | Next ]
Alex Weirig
Knowledge base portlet in marketplace
December 10, 2012 5:33 AM

Alex Weirig

Rank: Junior Member

Posts: 36

Join Date: July 13, 2009

Recent Posts


I'm currently preparing our upgrade from 6.1.0GA1 to 6.1.1GA2. I downloaded the knowledge base portlet from the marketplace since GA2 doesn't include it anymore.

According to the documentation you have edit the portlet's source code to add some comma separated values into if you want to support sections in the Knowledge base. You then have to redeploy the portlet because "changing the file in the server's directory doesn't work".

How am I supposed to do that for an app that I download from the market place? What I get is a lpkg file.

Now lpgk is supposed to mean Liferay Package I guess and is nothing more than a zip file containing some and the war file, but I am supposed to know all this?
Do I have to unzip the lpkg, import the war file into some IDE, edit the, package back into war and then package a new lpkg again? From what I see, the IDE is not offering support for the marketplace (yet)...

Am I missing something or is this the only way to get sections support in the portlet? It would be nice if this was possible through the admin interface in Control Panel.

Many thanks in advance for any hints.

Maarten van Heiningen
RE: Knowledge base portlet in marketplace
January 15, 2013 12:47 PM

Maarten van Heiningen

Rank: Regular Member

Posts: 173

Join Date: February 5, 2009

Recent Posts

Hi Alex,

The file is a hot deployable package containing the portlet etc. You can deploy it into your deploy folder. If you use the tomcat bundle then it goes into "[YOUR ROOT SERVER PATH]\liferay-portal-6.1.20-ee-ga2\deploy\"

Once installed you can now edit the actual properties file and create a new one called inside your portlet folder structure \webapps\[your portlet]\WEB-INF\

This is all there is to it. So you don't need to load it via your IDE.

Hitoshi Ozawa
RE: Knowledge base portlet in marketplace
January 15, 2013 1:42 PM

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

The original's idea was to enable portlets to be deployable just be selecting it from the Control Panel -> Plugin Install

This all assumed Internet connection. If you don't have Internet connection, you'll have to first get Private Plugin from the Market Place.

After you deploy the Knowledge Base portlet from the Control Panel, you'll still need to create a file. This is just a current limitation because most portlets now allows settings to be modifiable from Control Panel or from portlet's "Configuration" page (click on Configuration from portlet's upper right corner icon).