Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Set User profile and Dashboard
Hello Team,
I am using liferay 7.3 portal CE. I need to set user's profile page and dashboard page for every users that will be generated, I tried the following steps :
Step 1 : Created site template and exported.
Step 2 :
layout.user.private.layouts.enabled=true
layout.user.private.layouts.auto.create=true
default.user.private.layouts.lar=${liferay.home}/deploy/user_private_pages.lar
layout.user.public.layouts.enabled=true
layout.user.public.layouts.auto.create=true
default.user.public.layouts.lar=${liferay.home}/deploy/user_public_page.lar
Step 3 : Server restart
After restarting server, I created user but dashboard and profile page is not reflated and throwed larType not supported exception.Please suggest solution if anyone has faced similar issue.Thanks in advance
Regards,
Hardik
I am using liferay 7.3 portal CE. I need to set user's profile page and dashboard page for every users that will be generated, I tried the following steps :
Step 1 : Created site template and exported.
Step 2 :
layout.user.private.layouts.enabled=true
layout.user.private.layouts.auto.create=true
default.user.private.layouts.lar=${liferay.home}/deploy/user_private_pages.lar
layout.user.public.layouts.enabled=true
layout.user.public.layouts.auto.create=true
default.user.public.layouts.lar=${liferay.home}/deploy/user_public_page.lar
Step 3 : Server restart
After restarting server, I created user but dashboard and profile page is not reflated and throwed larType not supported exception.Please suggest solution if anyone has faced similar issue.Thanks in advance
Regards,
Hardik
I know, this should work, but I never tried it.
What we usually do is to create Groups with the private/public pages the user should have and then add the groups to the user when he is created (you can do this in the configuration by editing the default associations). The user inherits then the pages from the Group when he is created.
I always prefered that way because we often needed different profile pages depending on who the user is. That required some programming to add the correct groups, but it worked fine (At least with 7.2)
Maybe you could try to do it the way I described here?
What we usually do is to create Groups with the private/public pages the user should have and then add the groups to the user when he is created (you can do this in the configuration by editing the default associations). The user inherits then the pages from the Group when he is created.
I always prefered that way because we often needed different profile pages depending on who the user is. That required some programming to add the correct groups, but it worked fine (At least with 7.2)
Maybe you could try to do it the way I described here?
Thank you Christoph Rabel,Solution you provided is working fine, I setup dashboard and profile page from user group creation page and set user group name in default user group association.
Hello,
I set set user profile and dashboard as per the discussion.
Url for the profile and dashboard is comes with some Id like as below :
http://localhost:8080/user/hardik.p/~/43418/aboutus
I set friendly url in ext.properties but not worked :
default.user.public.layout.friendly.url=/profile
default.user.private.layout.friendly.url=/home
Can you please help how to remove that /43418/ from url. ?
Thanks in advance.
I set set user profile and dashboard as per the discussion.
Url for the profile and dashboard is comes with some Id like as below :
http://localhost:8080/user/hardik.p/~/43418/aboutus
I set friendly url in ext.properties but not worked :
default.user.public.layout.friendly.url=/profile
default.user.private.layout.friendly.url=/home
Can you please help how to remove that /43418/ from url. ?
Thanks in advance.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™