Forums de discussion

Liferay 7 portal-ext.properties

thumbnail
Syed Nasar, modifié il y a 7 années.

Liferay 7 portal-ext.properties

Junior Member Publications: 64 Date d'inscription: 03/09/15 Publications récentes
Hi,

In Liferay 7 version, I need to put this property terms.of.use.required=false in portal-ext.properties. My question is where should I put portal-ext.properties file so that It get reflect in server.

Thanks,
Syed Nasar
thumbnail
Jack Bakker, modifié il y a 7 années.

RE: Liferay 7 portal-ext.properties

Liferay Master Publications: 978 Date d'inscription: 03/01/10 Publications récentes
Syed Nasar:
Hi,

In Liferay 7 version, I need to put this property terms.of.use.required=false in portal-ext.properties. My question is where should I put portal-ext.properties file so that It get reflect in server.

Thanks,
Syed Nasar

I've noticed that for a Liferay with Tomcat that putting it in ${liferay.home}/tomcat*/webapps/ROOT/WEB-INF/classes seems to work.
thumbnail
Syed Nasar, modifié il y a 7 années.

RE: Liferay 7 portal-ext.properties

Junior Member Publications: 64 Date d'inscription: 03/09/15 Publications récentes
Hi Jack,

Thanks for the response.
But I need not to put directly on server. I want something like I can put portal-ext.properties in modules and once deployed, It should get reflect on server.

Thanks,
Syed Nasar
Kamal Kant Pandey, modifié il y a 7 années.

RE: Liferay 7 portal-ext.properties

New Member Publications: 2 Date d'inscription: 13/02/17 Publications récentes
Hi Syed,

There is no need of putting it in a module as the portal-ext.properties file can be used for assigning the properties globally by which it will get affected for the whole liferay portal.

Regards,
Kamal
thumbnail
Syed Nasar, modifié il y a 7 années.

RE: Liferay 7 portal-ext.properties

Junior Member Publications: 64 Date d'inscription: 03/09/15 Publications récentes
Hi ,
In liferay 6.2, we were putting portal-ext.properties in hook or ext. Likewise, where I have to put in liferay 7?
ramathulasi kudumula, modifié il y a 7 années.

RE: Liferay 7 portal-ext.properties

Junior Member Publications: 51 Date d'inscription: 06/10/11 Publications récentes
Syed Nasar:
Hi ,
In liferay 6.2, we were putting portal-ext.properties in hook or ext. Likewise, where I have to put in liferay 7?


Hi Nasar,

Place the portal-ext file in ${liferay.home}/ directory for Liferay 7.Iit should works fine.

Regards
Thulasi