Foros de discusión
How to override portal.properties in liferay 7 GA2 ?
lokesh gorrela, modificado hace 7 años.
How to override portal.properties in liferay 7 GA2 ?
Regular Member Mensajes: 173 Fecha de incorporación: 9/03/16 Mensajes recientes
Hi guys,
I want to override below properties in portal.properties file.
This properties are used in Site pages and Site Settings related jsp's in liferay 6.2 portal code.
In liferay 6.2 I customised properties like this:
Getting this properties into JSP's . See below code:
Now I want to override same properties and Using that properties in Site Pages and Site Settings related JSP's in liferay 7 GA2 ?
Any body knows about this requirement please give replay.
Thanks
With Regards
Lokesh
I want to override below properties in portal.properties file.
sites.form.update.main.admin
sites.form.update.seo.admin
sites.form.update.advanced.admin
sites.form.update.miscellaneous.admin
sites.form.update.main.siteadmin
sites.form.update.seo.siteadmin
sites.form.update.advanced.siteadmin
sites.form.update.miscellaneous.siteadmin
organizations.form.update.main
organizations.form.update.identification
organizations.form.update.miscellaneous
layout.form.update
layout.set.form.update
layout.form.update.admin
layout.set.form.update.admin
This properties are used in Site pages and Site Settings related jsp's in liferay 6.2 portal code.
In liferay 6.2 I customised properties like this:
If I login as Portal Admin in Site, only below properties values are available to Site Pages and Site Settings Pages.
sites.form.update.main.admin=details,categorization,site-url,site-template
sites.form.update.seo.admin=sitemap,robots
sites.form.update.advanced.admin=default-user-associations,staging,analytics,content-sharing,recycle-bin
sites.form.update.miscellaneous.admin=custom-fields,display-settings
If I login as Site Admin in Site, only below properties values are available to Site Pages and Site Settings Pages.
sites.form.update.main.siteadmin=details,site-url
sites.form.update.seo.siteadmin=sitemap
sites.form.update.advanced.siteadmin=recycle-bin
sites.form.update.miscellaneous.siteadmin=display-settings
organizations.form.update.main=details
organizations.form.update.identification=addresses,phone-numbers,additional-email-addresses
organizations.form.update.miscellaneous=comments
layout.form.update=details,look-and-feel
layout.set.form.update=look-and-feel,logo
layout.form.update.admin=details,seo,look-and-feel,javascript,custom-fields,advanced,mobile-device-rules
layout.set.form.update.admin=look-and-feel,logo,javascript,advanced,mobile-device-rules
Getting this properties into JSP's . See below code:
String[] mainSections = PropsUtil.getArray("layout.form.update");
String[] mainSectionsValues = PropsUtil.getArray("layout.form.update.admin");
Now I want to override same properties and Using that properties in Site Pages and Site Settings related JSP's in liferay 7 GA2 ?
Any body knows about this requirement please give replay.
Thanks
With Regards
Lokesh
Juan Gonzalez, modificado hace 7 años.
Move to more appropiate category
Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
Move to more appropiate category