Sree
Sree

Reputation: 149

Disabling My Public Pages feature in Liferay

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

Answers (3)

Mithrandir Ben
Mithrandir Ben

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

Laxman Rana
Laxman Rana

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

Related Questions