Foros de discusión

Changes to profile

Alagammai Kasi, modificado hace 11 años.

Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
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, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
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
Srikanth Reddy Sanivarapu, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 203 Fecha de incorporación: 15/11/08 Mensajes recientes
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, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
Thanks for your prompt reply.

Where shd I look for this file?

Please help.

Thanks a lot

Alagu
thumbnail
Srikanth Reddy Sanivarapu, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 203 Fecha de incorporación: 15/11/08 Mensajes recientes
This will be there in ur tomcat liferay server $liferay_home
Alagammai Kasi, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
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
Gnaniyar Zubair, modificado hace 11 años.

RE: Changes to profile

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
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, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
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, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
Where to make these changes?

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

Archivos adjuntos:

thumbnail
Gnaniyar Zubair, modificado hace 11 años.

RE: Changes to profile

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
//Where to make these changes?//


Are you asking about Role Permission changes or property changes?
thumbnail
Gnaniyar Zubair, modificado hace 11 años.

RE: Changes to profile

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
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, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
Where should I check for code level?
thumbnail
Gnaniyar Zubair, modificado hace 11 años.

RE: Changes to profile

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
Pls check here:

\html\portlet\users_admin\edit_user_potrait.jsp
Alagammai Kasi, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
Dear Gnaniyar,

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

This is what I see:

Archivos adjuntos:

thumbnail
Gnaniyar Zubair, modificado hace 11 años.

RE: Changes to profile

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
Just do one thing, Please disable /delete those properties for time being and restart the server again.
Alagammai Kasi, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
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
Gnaniyar Zubair, modificado hace 11 años.

RE: Changes to profile

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
//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.
Alagammai Kasi, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
Hi everyone,

Managed to make the change.

Thank you so much to all of you.

Thanks - Alagu
Alagammai Kasi, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
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
Gnaniyar Zubair, modificado hace 11 años.

RE: Changes to profile

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
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, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
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

Archivos adjuntos:

Alagammai Kasi, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
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, modificado hace 11 años.

RE: Changes to profile

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
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