留言板

Does multiple portal-companyid.properties feature work in liferay 5.2.3

tan mally,修改在14 年前。

Does multiple portal-companyid.properties feature work in liferay 5.2.3

New Member 帖子: 9 加入日期: 09-5-12 最近的帖子
include-and-override=portal-${easyconf:companyId}.properties in portal-ext.properties work ??

Is this recognized in liferay 5.2.3 released on may 20, 2009. ??

If not, how do I include it in my current verion ie 5.2.3 ,this is very important as I am running multiple portal instances.

Thank you
thumbnail
Samuel Kong,修改在14 年前。

RE: Does multiple portal-companyid.properties feature work in liferay 5.2.3

Liferay Legend 帖子: 1902 加入日期: 08-3-10 最近的帖子
Yes, 5.2.3 did bring back company specific portal.properties, however, you must enable it because it does increase the memory requirement.

java ... company-id-properties=true


See http://issues.liferay.com/browse/LPS-9 for more info..
tan mally,修改在14 年前。

RE: Does multiple portal-companyid.properties feature work in liferay 5.2.3

New Member 帖子: 9 加入日期: 09-5-12 最近的帖子
I added 'company-id-properties=true' to system-ext.properties ,I can see the portal-companynid.properties file being read(server console) but not reflected in the instance .I added different landing page for different company instance but it is not reflected .

I added the portal-10211.properties (used Db value of companyid) it didn't work then I tried portal.test.com.properties (used DB value of webid) still no luck.

Am I missing something ?

Please help me . Thank you
thumbnail
Josh Asbury,修改在14 年前。

RE: Does multiple portal-companyid.properties feature work in liferay 5.2.3

Expert 帖子: 498 加入日期: 06-9-8 最近的帖子
Hmmm....not sure if the landing page is available in the initial roll-out (though it should be). You might want to try to see if language-specific settings are different per instance as a test.
thumbnail
Ahmed Hasan,修改在14 年前。

RE: Does multiple portal-companyid.properties feature work in liferay 5.2.3

Expert 帖子: 306 加入日期: 07-4-13 最近的帖子
It is working for me.

1. in the system-ext.properties file, we need to add the line,

company-id-properties=true

2. create a new file, portal-<company-web-id>.properties and put all instance related property settings.

Remember it has to be the web-id of the instance and not the companyId as stored in the table, "Company"

mPower Global Inc.
Enrique José Cabal González,修改在14 年前。

RE: Does multiple portal-companyid.properties feature work in liferay 5.2.3

New Member 帖子: 12 加入日期: 10-1-11 最近的帖子
Hi,

I am working with Liferay 5.2.1 and I have several portal instances, I need that each portal have it own portal.properties. Is it possible? Or as I have readed in this post I have to upgrade to 5.2.3?

I think that several portal instances without own properties is absurd...

Thank you.
thumbnail
Gordon Augat,修改在14 年前。

RE: Does multiple portal-companyid.properties feature work in liferay 5.2.3

Regular Member 帖子: 107 加入日期: 06-8-16 最近的帖子
Which properties can be company specific?
Arun Kumar S,修改在14 年前。

RE: Does multiple portal-companyid.properties feature work in liferay 5.2.3

Regular Member 帖子: 182 加入日期: 08-6-23 最近的帖子
Hi Gordon Augat,

Have you find which properties can be company specific?

I have tried with default landing page, It doesn't work for me.

Thanks in advance.
Arun
thumbnail
Gordon Augat,修改在14 年前。

RE: Does multiple portal-companyid.properties feature work in liferay 5.2.3

Regular Member 帖子: 107 加入日期: 06-8-16 最近的帖子
Arun,

I can't get any of the properties to work.
Matthias Fenz,修改在14 年前。

RE: Does multiple portal-companyid.properties feature work in liferay 5.2.3

Junior Member 帖子: 79 加入日期: 09-3-24 最近的帖子
the same for me... nothing i checked works...
Matthias Fenz,修改在14 年前。

RE: Does multiple portal-companyid.properties feature work in liferay 5.2.3

Junior Member 帖子: 79 加入日期: 09-3-24 最近的帖子
Ahmed Hasan:
It is working for me.

1. in the system-ext.properties file, we need to add the line,

company-id-properties=true

2. create a new file, portal-<company-web-id>.properties and put all instance related property settings.

Remember it has to be the web-id of the instance and not the companyId as stored in the table, "Company"



can you please tell if there's anything other to do? it doesn't work for me... i cehcked it by reducing the available locales, but there are still all locales available...

my file is named portal-neustadt-bleibt-gesund.info.properties - is there maybe a problem with the two "-" in the company id??

please help!! many thanks in advance...