We are having several communities running on our single liferay(5.x) installation.
The user base for all these communities is same.
Now we want that if a user is logged in into one community and he click on a link for other community , he should be automatically signed in that community.
For example if there are 2 domains: domain1.com and domain2.com. Both these domains would be communities in liferay. If I am logged in on domain1.com and I am trying to click a private page of domain2.com then I want I should not get log - in screen in domain2.com. I should get automatically signed in domain2 because I am signed in domain1.com
What are the ways of doing it ?
Once logged in you should be signed in to all communities that you have access to. One way I would do this is:
Sign in to community 1
Navigate to the Control Panel
Go the "Communities" option under the "Portal" section
Click on Public or Private pages of the Community I want to view
As far as I'm aware access to communities is single sign-on providing you have the required permissions for that Community.
Related
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 been using Liferay portal. Its very easy and user friendly. Actually developer friendly ! But i have few doubts. Would want to get them clarified.
What is the difference between dashboard and my profile?
How do you restrict a user from adding portlets?
3.How to add animation effects/slideshow ?
yeah. That is all for now. Please help me get them clarified. Thanks in advance
Dashboard --> User's own Page, where user can have own set of portlets
My Profile --> Basically Users's Information Page, where user can add/edit them manually.
for more info :
User Personal Sites
The provided answer is not correct. My Profile is a page where you can add portlets. My Dashboard is a page where you can add portlets. See the difference? Neither do I. After much digging I found this:
Finally, the user section shows the users name and provides links to the user’s profile (his or her publicly-accessible pages), dashboard (his or her private pages) ...
https://dev.liferay.com/discover/portal/-/knowledge_base/6-2/touring-liferay-portals-user-interface
So it looks like "My Profile" = publicly-accessible pages, while
"My Dashboard" = private pages. For an admin user, the dashboard appears to
contain links/portlets to manage the website, user accounts, etc.
I am currently using Sharepoint Wss 3.0, I know that Wss do not offer "Mysite" like Sharepoint 2007. We have about +/- 200 users with our company, which i want a "Mysite" or a personal site for each user.
I managed to create currently 10 users with a sub site like below eg:
http://itds008:13864/sites/Intranet/mysite/shabeersa
in the link above "shabeersa" is the user on our AD system and which the user login into sharepoint.
NOW. I WANT TO KNOW " How to go to a Wildcard link (site) based on the users login details on Sharepoint Wss3.0"
All i want to provide the users is eg link: http://itds008:13864/sites/Intranet/mysite/$*(user)$$$
Please help
One approach would be to create a page in the layouts folder that redirects the user to his personal site. The reason why the page should be in the layouts folder, is because that supports server side code without the need for adding a page parser path in your web.config.
If you want a more 'user friendly' url, you could also create a web part that handles the redirection and put that web part on http://itds008:13864/sites/intranet/mysite for example.
[Offtopic]
By the way... I put 'user friendly' in quotes because your url is not exactly easy to remember for your end-users. I would consider using a host header for setting up web applications in SharePoint.
When I place a test AD account in the Visitors group they are unable to view any pages on my new intranet site. The users receives the "Error access denied" sharepoint screen and indicates that the account was able to authenticate, but that some authorisation rule is permitting it from viewing the page.
When i remove then and place them in the Members or Owners groups they are able to view the pages as well as perform the expected functions like editing content and creating subsites.
Interesting, while in only the Visitors group, users can view the "All Site Content" page that is located here: /_layouts/viewlsts.aspx but not /pages/default.aspx.
Has anyone experienced this before?
Environment info:
1 Web application, 1 Site collection using the Publishing Portal template. A few custom master pages, lots of custom page layouts and user controls. All deployed via features.
Sharepoint 2010 Standard edition, 64bit running on Windows Server 2008 against SqlServer 2008 Enterprise Edition. Authentication is against AD, not any other forms auth providers etc.
One likely reason for such behavior is that it tries to access a resource on a page which might not have been published to a major version. For example, if versioning was turned on on images library and an image's version is 0.1, if that image was used on version 1.0 (published) of the page, the server would deny access to the visitor and ask for credentials.
Make sure following:
At least one major version of the page exists (page was published at least once)
All resources (images, movie files etc) used on the page are published (to major version)
You can use "Draft Check" button on Page Tab of the Page's ribbon to check the unpublished resources that are used by the page.
I had the same issue and I've finaly found out how to do this:
If you check OOB group access, you can find that Visitors group has limited number of pages where it has granted access.
Navigate to /yourweb/_catalogs/masterpage. Here you'll find many
.aspx files (including default.master).
Open this default.master`s permissions and you see it inherits from
Master Page Gallery.
Click this permissions inheritance and you can see that Master Page
Gallery permissions are not inherited from site collection
permissions.
Give here the Contribute permissions to Style Resource Readers (or
modify it as you'd like) and all users will have access to this web
with no permissions to edit etc..
I had a similar issue and the thing I noted in your Environmental comments was the custom master pages. Go to your Site Settings and ensure that your custom master pages have been published. If you need to publish them also check the corresponding html pages after they have been published as they may need to be republished also.
This worked for me.
I'm currently building a website for a company, that will for the moment contain 3-5 static pages (i.e, just content). User registration may be added in time to come.
Now, I've been reading through the Liferay docs, forums and wiki, and I'm still pretty unclear on the approach to take in designing this website:
If I were to model my company Website as an organization in Liferay where I would have the public pages of the Website, what would be the purpose of the default guest page? (/web/gues/home)? Do I remove this and redirect the guest to my organization? If so, how do I do this?
Who is the creator of an organization in the real world? Is this site administrator? or the person responsible for adding content?
Who is the creator of an organization in Liferay? Is this the administrator to Liferay (i.e the default Test user)?
The best way to do is is to put your pages in the Public Pages of your organization and setup a virtual host (see Manage Pages -> Virtual Hosts in the Control Panel) for those pages. This way, www.my-homepage.com will redirect to the public pages of your organization. You should of course be owner of the domain and link the domain to the IP address of the server the website runs on.
In Liferay, by default only users with the role of Administrator can add organizations. For managing content you should setup other roles. Create f.e. a Content Editor role and add permissions for the Web Content portlet (Create Content, Approve, Edit, Delete, View in Control Panel). This also answered your third question.
Add this lines of code in your portal-ext.properties
mail.session.mail.pop3.host=pop.gmail.com
mail.session.mail.pop3.password=PASSWORD
mail.session.mail.pop3.port=110
mail.session.mail.pop3.user=USER
mail.session.mail.imap.host=imap.gmail.com
mail.session.mail.imap.port=993
mail.session.mail.store.protocol=imap
mail.session.mail.transport.protocol=smtp
mail.session.mail.smtp.host=smtp.gmail.com
mail.session.mail.smtp.password=PASSWD
mail.session.mail.smtp.user=USERID#gmail.com
mail.session.mail.smtp.port=465
mail.session.mail.smtp.auth=true
mail.session.mail.smtp.starttls.enable=true
mail.session.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
Please user your password in place of PASSWD and your gmail user id in place of USERID.
By three different ways we can configure mail server in Liferay. I am using Liferay 6.2 and initially I got an error that could not connect to smtp host localhost port 25 in liferay by using different code. So I used above code and my mail server is configured properly and my application is able to send mail to the user in forgot password case.
And please see this link. This link help me to solve the issue.
https://www.permeance.com.au/web/tim.telcik/home/-/blogs/how-do-i-configure-liferay-portal-to-use-google-mail
Thanks
asif aftab