掲示板

Changes to profile

11年前 に Alagammai Kasi によって更新されました。

Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
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
11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
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
thumbnail
11年前 に Srikanth Reddy Sanivarapu によって更新されました。

RE: Changes to profile

Regular Member 投稿: 203 参加年月日: 08/11/15 最新の投稿
Can you please check in ur portal-ext.properties file for whether you have this property added or not?

users.form.update.main=

Thanks.
11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
Thanks for your prompt reply.

Where shd I look for this file?

Please help.

Thanks a lot

Alagu
thumbnail
11年前 に Srikanth Reddy Sanivarapu によって更新されました。

RE: Changes to profile

Regular Member 投稿: 203 参加年月日: 08/11/15 最新の投稿
This will be there in ur tomcat liferay server $liferay_home
11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
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!
thumbnail
11年前 に Gnaniyar Zubair によって更新されました。

RE: Changes to profile

Liferay Master 投稿: 722 参加年月日: 07/12/19 最新の投稿
By default , user can have access to update their profile details as they have PowerUser role by default.

have you checked your permission?
11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
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.
11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
Where to make these changes?

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

添付ファイル:

thumbnail
11年前 に Gnaniyar Zubair によって更新されました。

RE: Changes to profile

Liferay Master 投稿: 722 参加年月日: 07/12/19 最新の投稿
//Where to make these changes?//


Are you asking about Role Permission changes or property changes?
thumbnail
11年前 に Gnaniyar Zubair によって更新されました。

RE: Changes to profile

Liferay Master 投稿: 722 参加年月日: 07/12/19 最新の投稿
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..?
11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
Where should I check for code level?
thumbnail
11年前 に Gnaniyar Zubair によって更新されました。

RE: Changes to profile

Liferay Master 投稿: 722 参加年月日: 07/12/19 最新の投稿
Pls check here:

\html\portlet\users_admin\edit_user_potrait.jsp
11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
Dear Gnaniyar,

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

This is what I see:

添付ファイル:

thumbnail
11年前 に Gnaniyar Zubair によって更新されました。

RE: Changes to profile

Liferay Master 投稿: 722 参加年月日: 07/12/19 最新の投稿
Just do one thing, Please disable /delete those properties for time being and restart the server again.
11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
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.
thumbnail
11年前 に Gnaniyar Zubair によって更新されました。

RE: Changes to profile

Liferay Master 投稿: 722 参加年月日: 07/12/19 最新の投稿
//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.
11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
Hi everyone,

Managed to make the change.

Thank you so much to all of you.

Thanks - Alagu
11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
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
thumbnail
11年前 に Gnaniyar Zubair によって更新されました。

RE: Changes to profile

Liferay Master 投稿: 722 参加年月日: 07/12/19 最新の投稿
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?
11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
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

添付ファイル:

11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
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
11年前 に Alagammai Kasi によって更新されました。

RE: Changes to profile

Regular Member 投稿: 149 参加年月日: 12/08/01 最新の投稿
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