Properties to disable User private pages.
After a bit of struggle I found that to disable private pages of users in Liferay these properties can be applied in the portal-ext.properties file:
layout.user.private.layouts.enabled=false
layout.user.private.layouts.modifiable=false
layout.user.private.layouts.auto.create=false
layout.user.public.layouts.enabled=false
layout.user.public.layouts.modifiable=false
layout.user.public.layouts.auto.create=false
I also tried to apply theme to these private pages by these properties:
layout.user.public.layouts.enabled=true
layout.user.private.layouts.enabled=true
default.user.private.layout.regular.theme.id=iconnect_WAR_iconnecttheme
default.user.public.layout.regular.theme.id=iconnect_WAR_iconnecttheme
layout.user.private.layouts.auto.create=false
layout.user.public.layouts.auto.create=false
However these properties intermittently showed user private pages without the specified theme. I am not sure about the reason, but I suspected the users were probably trying something funny by creating their own pages and playing around with it. So I decided to disable the pages altogether. No pages is better than having pages without Theme ;) at least that's how it was in my case..
layout.user.private.layouts.enabled=false
layout.user.private.layouts.modifiable=false
layout.user.private.layouts.auto.create=false
layout.user.public.layouts.enabled=false
layout.user.public.layouts.modifiable=false
layout.user.public.layouts.auto.create=false
I also tried to apply theme to these private pages by these properties:
layout.user.public.layouts.enabled=true
layout.user.private.layouts.enabled=true
default.user.private.layout.regular.theme.id=iconnect_WAR_iconnecttheme
default.user.public.layout.regular.theme.id=iconnect_WAR_iconnecttheme
layout.user.private.layouts.auto.create=false
layout.user.public.layouts.auto.create=false
However these properties intermittently showed user private pages without the specified theme. I am not sure about the reason, but I suspected the users were probably trying something funny by creating their own pages and playing around with it. So I decided to disable the pages altogether. No pages is better than having pages without Theme ;) at least that's how it was in my case..
Comments
Post a Comment