Currently i am using LR 6.1.2 CE where we use site as a group page. I want when authorize user click on the group name, it must landed directly on site's private page. Currently its landing
on group's public page!
If you are using direct page URL
Page URL has some indication about public or private page, i.e. all public page URLs starts with "/web", followed by "/" and then followed by "/". Whereas private page URL starts with "/group" and rest are same as public page.
If you would like to land on a private page of a particular site, then you can place private page URL that starts with "/group".
If you are using domain names mapped to site pages
Also, If you are using domain names for your site, then you can configure different domain for public pages & private pages. i.e. www.mydomain1.com or public page and www.mydomain2.com for private pages.
You may take a look into Control Panel -> Site Settings -> Site URL -> Virtual Hosts
Related
In my company we have some internal applications what we would like to link to in the cloud.
Do I just need to add an Embed web part in SPO and then add an iframe to a https of the local application (that can only be acccessed on our network) ?
Thanks
P
I believe this is what you need:
https://learn.microsoft.com/en-us/sharepoint/administration/configure-alternate-access-mappings
Each web application can be associated with a collection of mappings between internal and public URLs. Both internal and public URLs consist of the protocol and domain portions of the full URL (for example, https://www.fabrikam.com). A public URL is what users type to access the SharePoint site, and that URL is what appears in the links on the pages. Internal URLs are in the URL requests that are sent to the SharePoint site. Many internal URLs can be associated with a single public URL in multi-server farms (for example, when a load balancer routes requests to specific IP addresses to various servers in the load-balancing cluster).
Each web application supports five collections of mappings per URL. The five collections correspond to five zones (default, intranet, extranet, Internet, and custom). When the web application receives a request for an internal URL in a particular zone, links on the pages returned to the user have the public URL for that zone. For more information, see Plan alternate access mappings for SharePoint 2013.
Add an internal URL
On the Alternate Access Mappings page, click Add Internal URLs.
If the mapping collection that you want to change is not specified, then choose one. In the Alternate Access Mapping Collection section, on the Alternate Access Mapping Collection menu, click Change alternate access mapping collection.
On the Select an Alternate Access Mapping Collection page, click a mapping collection.
In the Add internal URL section, in the URL protocol, host and port box, type the new internal URL (for example, https://www.fabrikam.com).
In the Zone list, click the zone for the internal URL.
Click Save.
I use Gitlab Pages as a private site, but I would like to grant public access on some parts of the site's content. Is there any way to configure this, besides making the whole site public ?
Strange navigations. Using Liferay CE 6.2.3 GA4, in a Portal instance www.portal.com I created a Site other than the base Guest site. The new Site is "Open" and I assigned it a virtual host name of www.site.com. Public and private three have a single home page.
If the user navigate to www.site.com he/she see the public home, then if he/she do a login the landing page is the Home page of the Guest base site of www.portal.com. Why ?
Then in "My sites" if the User click on the private side of www.site.com he/she need to give the credentials again. Very strange...
Ok, then the user is on the private home of www.site.com but if the User in "My Sites" click on the public side of www.site.com he/she need to give the credentials again ! This because the "My Sites" portlet is not on the right upper corner, instead there is the "Sign in" link". Very wrong ...
Please anyone can help me ?
Thank you in advance !
Ivano C.
There are multiple issues mentioned here. Answering the issues that I understand.
1. If the user navigate to www.site.com he/she see the public home, then if he/she do a login the landing page is the Home page of the Guest base site of www.portal.com. Why ?
By default it takes to default Guest Site after login.
You can change default landing page URL in Control Panel →
Configuration → Portal Settings. If you want custom behaviour then
you can implement post login hook.
2. Then in "My sites" if the User click on the private side of www.site.com he/she need to give the credentials again. Very strange...
As there are two different host names [www.portal.com & www.site.com]
and clicking on links that directs from one site to the other makes it
as two different sites. Hence it asks for login again.
I have a user group associated with a site template1 for public pages
and to a site template2 for private pages.
I have two publics pages and two privates pages.
Any user who connect get his own personal site public and private with the pages from site template1 (2 pages I've set up) plus welcome page and from site template2 (2 pages I've set up) plus welcome page.
How can I get rid of this welcome page automatically for all users belonging to the user group ?
I really don't need this welcome page.
Check the "Default User Public (and Private) Layouts" section in portal.properties. Override and change in portal-ext.properties.
I am new to Liferay I have created two UserGroups - Grp1 (with users a1, b1, c1) and Grp2 (with users a2, b2, c2).
Groupwise some public and private pages are created which differentiates Grp1 task from Grp2.
I want user a2, b2, c2 to have there own private pages which only they can view.
And when I login through user say a2, by default liferay's public page is viewed and, in GO TO user's (a2) public and private page is available.
Can't on login itself users public and private page be viewed and not liferay's default page?
And how does GROUP LEVEL and USER LEVEL public & private pages differ?
I created pages at group level (Grp2) both public and private, all the pages are visible to a2, b2, c2. On adding a page (a2) it behaves as private page only a2 can view it.
I want user a2, b2, c2 to have there own private pages which only they can view.
Then use User level private pages. Which you can see in GO TO menu with url http://localhost/user/a2/home
These pages will be automatically created when a user is added to liferay. You can control the creation of these pages by modifying the following properties in portal.properties:
layout.user.private.layouts.enabled=true
layout.user.private.layouts.auto.create=true
You can also check out the section Default User Private Layouts in portal.properties to get some more idea.
These pages are visible only to the users and only the users have full control over it.
More about this in Liferay User Guide's section on User personal site.
-
Can't on login itself users public and private page be viewed and not liferay's default page?
For this you can will have to create a login-post-action-hook.
You will need to modify the property: login.events.post in your hook and include a CustomLandingPageAction class on the lines of DefaultLandingPageAction.
This is good resource to create Custom Landing Page.
And how does GROUP LEVEL and USER LEVEL public & private pages differ?
I think you are asking about difference between UserGroup Level (instead of just Group) and User Level.
Please see section User Group Sites in Liferay User-guide, some relevant excerpt from the section:
Liferay allows users to each have a personal site consisting of public and
private pages. Permissions can be granted to allow users to customize their
personal sites at will. Originally, the default configuration of those pages
could only be determined by the portal administrator through the
portal-ext.properties file and, optionally, by providing the configuration in
a LAR file. You can still configure it like this but it isn’t very flexible or
easy to use.
By using User Group Sites, portal administrators can add pages to the personal
sites of all the users who belong to the site in an easy and centralized way.
All the user group site’s public pages are shown as part of the user’s public
personal site. All the user group site’s private pages are shown as part of the
user’s private site. If a user belongs to several user groups, all of its pages
are made part of his public and private site. In an educational institution’s
portal, for example, teachers, staff and students could get different default
pages and applications on their personal sites.
Hope this will be of some help.