Foros de discusión

How to remove sidepanel menu from user registration screen

saritha reddy, modificado hace 9 años.

How to remove sidepanel menu from user registration screen

Junior Member Mensajes: 95 Fecha de incorporación: 27/01/14 Mensajes recientes
How to remove sidepanel menu from user registration screen
saritha reddy, modificado hace 9 años.

RE: How to remove sidepanel menu from user registration screen

Junior Member Mensajes: 95 Fecha de incorporación: 27/01/14 Mensajes recientes
Hi
Does anyone know how to remove menu of
user registartion of contorl panel -> add user -> promt to userRegistration page there one the right hand side there will be one panel with userInfomation with the options of details, organistaion and personal site.

1. From those menus I want to remove Organization and personal site
2 . I want to add roles menu there, So I have added roles menu successfully , but after adding that menu whenever I click on roles menu in the main page, all the fields of details and organisation and personalsite and roles coming in same page.

I Have added the roles menu by mentioning the below code in portal.properties
users.form.add.main = details
users.form.add.main = roles

Does anyOne know how to remove menu and how to overcome that adding role problem ..


Thanks
Regards
Saritha
thumbnail
Manali Lalaji, modificado hace 9 años.

RE: How to remove sidepanel menu from user registration screen

Expert Mensajes: 362 Fecha de incorporación: 9/03/10 Mensajes recientes
Hi Saritha,

For removing any existing menu from User Registeration, you need to go by EXT way.

Also refer : https://www.liferay.com/documentation/liferay-portal/6.2/development/-/ai/developing-an-ext-plugin-liferay-portal-6-2-dev-guide-12-en

HTH!
thumbnail
Pankaj Kathiriya, modificado hace 9 años.

RE: How to remove sidepanel menu from user registration screen

Liferay Master Mensajes: 722 Fecha de incorporación: 5/08/10 Mensajes recientes
You may remove those options from property users.form.add.main in portal-ext.properties(this file you can place parallel to tomcat or under ROOT/WEB-INF/classes).

NOTE: While overriding portal properties which are having comma separated multiple values in hook, you can add more values to it, but you can not remove any values from property.
saritha reddy, modificado hace 9 años.

RE: How to remove sidepanel menu from user registration screen

Junior Member Mensajes: 95 Fecha de incorporación: 27/01/14 Mensajes recientes
Hi Pankaj and Manali

Thank you For reply

@ Manali actually I know we can use ext for removing menus from user registartion, But I want to avoid Using EXT, but I dont know how to do that by using hook.

@Pankaj portal-ext.properties this files is EXT file right, So you mean I have to use EXT for removing those menus.
OR
Do you want me to create only that portal-ext.properties file in the ROOT/WEB-INF/classes and use it.
thumbnail
Pankaj Kathiriya, modificado hace 9 años.

RE: How to remove sidepanel menu from user registration screen

Liferay Master Mensajes: 722 Fecha de incorporación: 5/08/10 Mensajes recientes
No need to create ext-plugin, you can just create portal-ext.properties file and place it parallel to tomcat or under tomcat/webapps/ROOT/WEB-INF/classes and restart the server.
saritha reddy, modificado hace 9 años.

RE: How to remove sidepanel menu from user registration screen

Junior Member Mensajes: 95 Fecha de incorporación: 27/01/14 Mensajes recientes
Thank you Pankaj it is working.