Foren

Howmany EXT plugin we can create per portal?

Ketan Patel, geändert vor 9 Jahren.

Howmany EXT plugin we can create per portal?

Junior Member Beiträge: 72 Beitrittsdatum: 04.05.12 Neueste Beiträge
Hello,

Howmany EXT plugin we can create per portal in liferay?

Thanks in Advance.
thumbnail
Manali Lalaji, geändert vor 9 Jahren.

RE: Howmany EXT plugin we can create per portal?

Expert Beiträge: 362 Beitrittsdatum: 09.03.10 Neueste Beiträge
Hi,

Ext plugin is actually changing Liferay itself so it will be effective on all portal instances on a server. So Only 1 I think. AFAIK, you should not have multiple of them.
Also, Liferay keeps track of the files deployed by each Ext plugin and won’t let you deploy multiple Ext plugins that override the same file.

HTH!
thumbnail
Jeffrey Paul Handa, geändert vor 9 Jahren.

RE: Howmany EXT plugin we can create per portal?

Liferay Master Beiträge: 541 Beitrittsdatum: 01.12.08 Neueste Beiträge
Hi Ketan,

How many Ext plugins can you create or how many Ext plugins should you create? As Manali pointed out, the Ext plugin is modifying Liferay itself so it should be used with caution. Be sure to read the Advanced Customizations with Ext Plugins section of the Liferay 6.2 Developer Guide to better understand how and when to use an Ext plugin.

With that being said, you can have more than one Ext plugin, as long as they don't modify the same aspect of Liferay. For example, you could have an Ext plugin that overrides some Spring configurations and another that modifies liferay-portlet-ext.xml, but you could not have two Ext plugins that both try to customize struts-config-ext.xml.
thumbnail
David H Nebinger, geändert vor 9 Jahren.

RE: Howmany EXT plugin we can create per portal?

Liferay Legend Beiträge: 14918 Beitrittsdatum: 02.09.06 Neueste Beiträge
And although it's possible, unless you are in a tightly controlled and managed environment, it will be very easy to end up with odd things going on because multiple EXT plugins are in play.

Personally I recommend sticking with one EXT. It is easier to ensure that the files that get modified are really the ones that get modified and no further coordination is necessary.