Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
ll lll
to install liferay with minimal portlets
June 11, 2014 1:11 PM
Answer

ll lll

Rank: New Member

Posts: 7

Join Date: May 24, 2014

Recent Posts

Hello,

i want to install liferay with only necessary portlets.

i know i have to put <inlude>false</include> in liferay-portlet.xml
but if i set "include false" for all the portlets , there are errors in liferay (control panel with errors for example)

is exists a list of necessary portlets to not remove ?
is exists a list of minimal portlets?

thanks
David H Nebinger
RE: to install liferay with minimal portlets
June 11, 2014 1:35 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6958

Join Date: September 1, 2006

Recent Posts

No.

You should not be doing the "include" thing anyway. Just change the liferay-display.xml file to move the portlets to the hidden category. That way the code will still be in there for support purposes, but it will be excluded from the add menu.
ll lll
RE: to install liferay with minimal portlets
June 11, 2014 1:56 PM
Answer

ll lll

Rank: New Member

Posts: 7

Join Date: May 24, 2014

Recent Posts

thanks for your response, but my goal is to minimize startup time
and to minimize memory size
Andew Jardine
RE: to install liferay with minimal portlets
June 11, 2014 2:46 PM
Answer

Andew Jardine

Rank: Regular Member

Posts: 236

Join Date: December 22, 2010

Recent Posts

You could probably comment out the portlet definitions for most of them. There are some core ones that you want to leave in even if you don't use them. Blogs, Wiki, Message Board and the Web Content ones but the ones like Calculator etc can probably be dumped. Or you could wait for Liferay v7 where you should be able to pick and choose your bundles! emoticon
David H Nebinger
RE: to install liferay with minimal portlets
June 11, 2014 4:32 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6958

Join Date: September 1, 2006

Recent Posts

The standards are to remove unused filters. The portlets do not impact memory usage; the only thing that will affect memory usage is if you place them on a page.

The startup is also not affected by the portlets; they do not introduce any additional 'startup time' impact and will not reduce the startup time by trying to take them out.
Andew Jardine
RE: to install liferay with minimal portlets
June 18, 2014 1:34 PM
Answer

Andew Jardine

Rank: Regular Member

Posts: 236

Join Date: December 22, 2010

Recent Posts

No argument here -- usually i just put the ones I don't want into a hidden category or use permissions to control the visibility. Besides, yo unever know when you might need a "Finance Calculator"! emoticon