Reputation: 149
I am using Liferay 6.1.1 CE.
How can i disable add,manage and edit control (Dockbar) of a user's "My Public Pages" and "My Private Pages"?
Please find me some ideas?
Upvotes: 2
Views: 2723
Reputation: 181
I have the same problem and I looked for disable access to public and private pages. The solution is to add these lines in your portal-ext.properties :
To disable access to private pages :
layout.user.private.layouts.enabled=false
layout.user.private.layouts.modifiable=false
layout.user.private.layouts.auto.create=false
to disable public pages :
layout.user.public.layouts.enabled=false
layout.user.public.layouts.modifiable=false
layout.user.public.layouts.auto.create=false
P.S : That's disable also the access to default portlets (Directory user list) http://yoursite/web/yourusername/home
http://yoursite/user/yourusername/home
Upvotes: 1
Reputation: 149
http://vir-liferay.blogspot.in/2012/05/how-to-configure-dockbar-based-on-roles.html
this works for me....I fix it
Upvotes: 2
Reputation: 2924
try this thing. write this code in your portal-ext.properties
layout.user.public.layouts.enabled=false
layout.user.public.layouts.modifiable=false
layout.user.public.layouts.auto.create=false
similarly you found other options also.
Upvotes: 1