Difference between Dashboard and My profile - liferay

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.

Related

create registration and login page in wordpress

I have a page called journal in my wordpress site. So my requirement is only the users which are registered with us should be able to access the journal page from site.
when users try to access journal page it should show login screen to them.
please guide
you need to use membership plugins, there is lots of plugin for membership, I preferred membership-pro plugin. Read the documentation there is a setting option if user not registered or signing.
https://wordpress.org/plugins/paid-memberships-pro/
let me know if further problem.

Add "Contact Us"/"Support" link to the Sing-In form

I want to add a link directing users to our support to the Azure B2C Login form.
I don't see any way of doing it.
There is a "support" URL in Application Manifest but
it doesn't seem to be used (at least it's not documented)
it's displayed when consent is asked for the application, not on the login form
Is it possible to add a custom link to the standard layouts of Azure B2C or do I need to use a the HTML templates approach?
Even using the HTML templates I think I will only be able to add the link somewhere else on the page, not to the login form.
The best way to do this is the HTML form as you mentioned. You can add the link on the login form. You'll just need to add a div with your link. If you're having trouble getting it to work let me know and I can help you out.
Best,
James

How to check the first login of the FBA users in SharePoint site and ask them to fill the information

I need to check the first login of the FBA users in SharePoint site and force them to fill a form of basic information. I have no idea how to do this. appreciated any help or suggestion in this matter.
Thanks
If the users self-register - you could do it at registration time. If not you could create a separate page to gather all of this information, and add a snippet of code to the master page that would check if the information has been filled out. If not, it could redirect the user to this page you created.
Instead of checking if the information is filled out on the master page, you could customize the login page to check for the information after a successful login - however the login control can be very difficult to modify to do that.

How do we provide two different url's for different users in Liferay?

i have developed a portal using Liferay.I have two kind of users, guest user and Admin user. The login should be possible by the Admin only. The guest user should not be able to login , or even see the sign in button. How do i achieve this? through different url's?
You might consider the following approach:
Remove the login portlet from the theme template. (portal-normal.vm)
Create a hidden page on your Guest group. On this page you place only the login portlet. So only the people who know the direct URL are able to login. AFAIK there is no other way to achieve this, as you don't know if someone is an Admin before he entered his credentials ;)
[EDIT]
To remove the login portlet from the template you have to do the following steps:
A) If you don't have a custom theme
- Create a new Theme
- Parent of your new theme is classic
- Place portal_normal.vm in /docroot/_diffs/templates
- Remove these lines:
#if (!$is_signed_in)
<a data-redirect="$is_login_redirect_required" href="$sign_in_url" id="sign-in" rel="nofollow">$sign_in_text</a>
#end
That should remove the login link.
- Compile and deploy your theme
- Assign the theme to the portal as default theme. Assign the theme to your guest group Site.
Now you only have to create your hidden page and place the login portlet on it.
[/EDIT]
You can also consider an alternative approach if you know sth more about the admin users - e.g. their IP address / addresses, then you could modify the contents of a page in a similar manner as stated by Gevatterjan, but then you check not for the signed-in users, but the ones with specfic IPs.

Liferay's default guest page and it's purpose in a Website

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

Resources