Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Fais ritz
How to hide Public and Private pages?
9 de Janeiro de 2013 05:38
Resposta

Fais ritz

Ranking: Junior Member

Mensagens: 55

Data de entrada: 11 de Abril de 2011

Mensagens recentes

Hi,
How can i hide the public and private pages for users. How to set the users when they login and get the different default page?
Faris Abdulla
RE: How to hide Public and Private pages?
13 de Dezembro de 2012 07:24
Resposta

Faris Abdulla

Ranking: Regular Member

Mensagens: 183

Data de entrada: 1 de Setembro de 2009

Mensagens recentes

Hi Fais,

You can use the page permission.

Is this user belongs to any community or organization. In that case you can assign a role to the orgaization and display the page.
Fais ritz
RE: How to hide Public and Private pages?
13 de Dezembro de 2012 07:44
Resposta

Fais ritz

Ranking: Junior Member

Mensagens: 55

Data de entrada: 11 de Abril de 2011

Mensagens recentes

Thanks for reply.
Actually i m little confused. Can you please tell me the process.
Anônimo
RE: How to hide Public and Private pages?
13 de Dezembro de 2012 09:24
Resposta

Anônimo

are you talking about the sites dropdown in the dockbar?
Fais ritz
RE: How to hide Public and Private pages?
13 de Dezembro de 2012 09:56
Resposta

Fais ritz

Ranking: Junior Member

Mensagens: 55

Data de entrada: 11 de Abril de 2011

Mensagens recentes

yes. how to disable that from the dockbar?
Anônimo
RE: How to hide Public and Private pages?
13 de Dezembro de 2012 10:00
Resposta

Anônimo

here are portal.properties that I think can point you to a solution.

https://www.liferay.com/community/wiki/-/wiki/Main/Portal+Properties+6.0.5#section-Portal+Properties+6.0.5-Default+Guest+Public+Layouts
My Places Portlet#

#
# Set the display style for the My Places navigation menu.
#
my.places.display.style=simple
#my.places.display.style=classic

#
# Set this to true to show user public sites with no layouts.
#
my.places.show.user.public.sites.with.no.layouts=true

#
# Set this to true to show user private sites with no layouts.
#
my.places.show.user.private.sites.with.no.layouts=true

#
# Set this to true to show organization public sites with no layouts.
#
my.places.show.organization.public.sites.with.no.layouts=true

#
# Set this to true to show organization private sites with no layouts.
#
my.places.show.organization.private.sites.with.no.layouts=true

#
# Set this to true to show community public sites with no layouts.
#
my.places.show.community.public.sites.with.no.layouts=true

#
# Set this to true to show community private sites with no layouts.
#
my.places.show.community.private.sites.with.no.layouts=true

#
# Set the maximum number of elements that will be shown in the My Places
# navigation menu. For example, if the maximum is set to 10, then, at most,
# 1 personal community, 10 organizations, and 10 communities will be shown.
#
my.places.max.elements=10
Abhi Ed
RE: How to hide Public and Private pages?
13 de Dezembro de 2012 10:02
Resposta

Abhi Ed

Ranking: Regular Member

Mensagens: 118

Data de entrada: 4 de Junho de 2012

Mensagens recentes

Fais ritz:
yes. how to disable that from the dockbar?


Those public/private pages are for default liferay community.
So, the best option will be to have your own community and then you just import your current working lar into that
community so that you don't have to recreate pages/web contents (if u have any) and then you can just set
default landing page or whatever you want.

Regards
Ed
lutz Bremen
RE: How to hide Public and Private pages?
4 de Fevereiro de 2013 04:01
Resposta

lutz Bremen

Ranking: Expert

Mensagens: 291

Data de entrada: 20 de Outubro de 2011

Mensagens recentes

Hide it with portal-ext.properties.

add

1layout.user.private.layouts.enabled=false
2layout.user.private.layouts.modifiable=false
3layout.user.private.layouts.auto.create=false
4
5layout.user.public.layouts.enabled=false
6layout.user.public.layouts.modifiable=false
7layout.user.public.layouts.auto.create=false


or if u want it to be enabled for a special role

1layout.user.public.layouts.power.user.required=true