Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Alagammai Kasi
Changes to profile
December 3, 2012 9:49 PM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

Dear buddies,

my end users are not able to make changes to their profile, like updating their photo and so on. This has been disabled, but now management choose to let them make the amendments.

Where should I be making the changes.

Please advice.

THanks - Alagu
Alagammai Kasi
RE: Changes to profile
December 3, 2012 10:48 PM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

None of the users are able to see the Details tab under their MyAccount.

It has been disabled. How can I enable it?

Please throw some light.

Thanks - alagu
Srikanth Reddy Sanivarapu
RE: Changes to profile
December 3, 2012 10:54 PM
Answer

Srikanth Reddy Sanivarapu

Rank: Regular Member

Posts: 193

Join Date: November 14, 2008

Recent Posts

Can you please check in ur portal-ext.properties file for whether you have this property added or not?

users.form.update.main=

Thanks.
Alagammai Kasi
RE: Changes to profile
December 3, 2012 11:05 PM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

Thanks for your prompt reply.

Where shd I look for this file?

Please help.

Thanks a lot

Alagu
Srikanth Reddy Sanivarapu
RE: Changes to profile
December 3, 2012 11:33 PM
Answer

Srikanth Reddy Sanivarapu

Rank: Regular Member

Posts: 193

Join Date: November 14, 2008

Recent Posts

This will be there in ur tomcat liferay server $liferay_home
Alagammai Kasi
RE: Changes to profile
February 13, 2013 1:08 AM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

Dear Srikanth,

This is what I see in the Portal Properties.

organizations.form.update.main = details,pages,categorization

users.form.update.main = details,password,organizations,communities,user-groups,roles,pages,categorizatio...

Do I need to change something and if yes, where should I be making the change?

Please advice.

Thank you so much!
Gnaniyar Zubair
RE: Changes to profile
February 13, 2013 1:11 AM
Answer

Gnaniyar Zubair

Rank: Liferay Master

Posts: 603

Join Date: December 19, 2007

Recent Posts

By default , user can have access to update their profile details as they have PowerUser role by default.

have you checked your permission?
Alagammai Kasi
RE: Changes to profile
February 13, 2013 2:01 AM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

That has been disabled by the previous administrator as the management requested us to do so but now they have changed their policy and wants to allow students to update their photo.
Alagammai Kasi
RE: Changes to profile
February 13, 2013 2:05 AM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

Where to make these changes?

http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/users
Attachment

Attachments: Capture.PNG (22.0k)
Gnaniyar Zubair
RE: Changes to profile
February 13, 2013 2:12 AM
Answer

Gnaniyar Zubair

Rank: Liferay Master

Posts: 603

Join Date: December 19, 2007

Recent Posts

We can set these properties to prevent the users to update their profiles :

field.enable.com.liferay.portal.model.Contact.male=true
field.enable.com.liferay.portal.model.Contact.birthday=true
field.enable.com.liferay.portal.model.Organization.status=false



But Not sure for disabling photo link. Can you check in code level..?
Alagammai Kasi
RE: Changes to profile
February 13, 2013 2:13 AM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

Where should I check for code level?
Gnaniyar Zubair
RE: Changes to profile
February 13, 2013 2:17 AM
Answer

Gnaniyar Zubair

Rank: Liferay Master

Posts: 603

Join Date: December 19, 2007

Recent Posts

//Where to make these changes?//


Are you asking about Role Permission changes or property changes?
Gnaniyar Zubair
RE: Changes to profile
February 13, 2013 2:21 AM
Answer

Gnaniyar Zubair

Rank: Liferay Master

Posts: 603

Join Date: December 19, 2007

Recent Posts

Pls check here:

\html\portlet\users_admin\edit_user_potrait.jsp
Alagammai Kasi
RE: Changes to profile
February 13, 2013 6:17 PM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

Dear Gnaniyar,

I found those lines only in portal-ext.properties.

This is what I see:
Attachment

Attachments: Capture.PNG (3.2k)
Gnaniyar Zubair
RE: Changes to profile
February 14, 2013 4:38 AM
Answer

Gnaniyar Zubair

Rank: Liferay Master

Posts: 603

Join Date: December 19, 2007

Recent Posts

Just do one thing, Please disable /delete those properties for time being and restart the server again.
Alagammai Kasi
RE: Changes to profile
February 14, 2013 6:35 PM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

Dear Gnaniyar,

What does this line mean?

users.form.update.main .....


Just want to double check.

If I can change the line to a comment by starting the line with a hash (#).

Please advice.

and just stop and start the tom cat?

Thank you so much.
Gnaniyar Zubair
RE: Changes to profile
February 15, 2013 10:38 PM
Answer

Gnaniyar Zubair

Rank: Liferay Master

Posts: 603

Join Date: December 19, 2007

Recent Posts

//What does this line mean?
users.form.update.main ...
//


There are 3 section while adding / editing the user . 1. User Information 2. Identification 3. Miscellaneous. So we can configure the form section by adding the properties in portal-ext.properties.

users.form.add.main=
users.form.add.identification=
users.form.add.miscellaneous=

if you set this below property,

users.form.add.main=details,organizations,personal-site


then you can see only details,organizations,personal-site section from the user information form while adding / editing the user. (see attached file):

///If I can change the line to a comment by starting the line with a hash (#).///


yes you can comment that property like this and just restart the server.

# users.form.add.main=details,organizations,personal-site.
Attachment

Attachment

Attachments: user-details-org-personal site.png (24.2k), userdetails.png (15.2k)
Alagammai Kasi
RE: Changes to profile
February 25, 2013 1:48 AM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

Hi everyone,

Managed to make the change.

Thank you so much to all of you.

Thanks - Alagu
Alagammai Kasi
RE: Changes to profile
February 25, 2013 1:56 AM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

Dear Gnaniyar Zubair,

The field level has to be changed in the portal-ext.properties? or somewhere else?

Please throw some light.

Students can change their photo but they can also change other info, which I need to disable.

Thank You,
Alagu
Gnaniyar Zubair
RE: Changes to profile
February 25, 2013 3:02 AM
Answer

Gnaniyar Zubair

Rank: Liferay Master

Posts: 603

Join Date: December 19, 2007

Recent Posts

You can set the properties as i mentioned which category should be shown to users...

users.form.add.main=
users.form.add.identification=
users.form.add.miscellaneous=



what are the information you want to disable for users?
Alagammai Kasi
RE: Changes to profile
February 25, 2013 5:39 PM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

Dear Gnaniyar,

THe students would be able to change their first name and other editable text box.

So, I do not want that to happen.

Whatever that appears as XXXX are not editable.

Thank you so much for all the support and help you rendered.

Thank You,
Alagu
Attachment

Attachments: Untitled.png (37.4k)
Alagammai Kasi
RE: Changes to profile
February 25, 2013 7:40 PM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

I just want them to be able to change the profile pic.

I do not want them to make any other change.

Could someone help me?

Thank You,
Alagu
Alagammai Kasi
RE: Changes to profile
February 27, 2013 1:49 AM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

Would like to know, if I want to prevent users from changing their first name, last name and so on, how could I do it? Something like this?

field.enable.com.liferay.portal.model.Details.FirstName=false

Please advice

Thanks - Alagu