Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Fais ritz
How to hide Public and Private pages?
9. Januar 2013 05:38
Antwort

Fais ritz

Rang: Junior Member

Nachrichten: 55

Eintrittsdatum: 11. April 2011

Neue Beiträge

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. Dezember 2012 07:24
Antwort

Faris Abdulla

Rang: Regular Member

Nachrichten: 183

Eintrittsdatum: 1. September 2009

Neue Beiträge

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. Dezember 2012 07:44
Antwort

Fais ritz

Rang: Junior Member

Nachrichten: 55

Eintrittsdatum: 11. April 2011

Neue Beiträge

Thanks for reply.
Actually i m little confused. Can you please tell me the process.
Anonym
RE: How to hide Public and Private pages?
13. Dezember 2012 09:24
Antwort

Anonym

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

Fais ritz

Rang: Junior Member

Nachrichten: 55

Eintrittsdatum: 11. April 2011

Neue Beiträge

yes. how to disable that from the dockbar?
Anonym
RE: How to hide Public and Private pages?
13. Dezember 2012 10:00
Antwort

Anonym

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. Dezember 2012 10:02
Antwort

Abhi Ed

Rang: Regular Member

Nachrichten: 118

Eintrittsdatum: 4. Juni 2012

Neue Beiträge

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. Februar 2013 04:01
Antwort

lutz Bremen

Rang: Expert

Nachrichten: 291

Eintrittsdatum: 20. Oktober 2011

Neue Beiträge

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