Fórum

how apply add user styles to my own user registration page???

saritha reddy, modificado 9 Anos atrás.

how apply add user styles to my own user registration page???

Junior Member Postagens: 95 Data de Entrada: 27/01/14 Postagens Recentes
HI EveryOne


I have developed a user registartion portlet, I want to apply same styles as controlpanel->adduser page.
How to get those styles or how can I apply that styles to my own portlet??
If any one having idea about this, please let me know.


Thanks
thumbnail
Andew Jardine, modificado 9 Anos atrás.

RE: how apply add user styles to my own user registration page???

Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
You would need to use the CSS styles that are being used in the control panel page. An easier solution for you might be, instead of creating your own registration portlet, to create a JSP hook and override the portal OOTB registration page (/html/portlet/login/create_account.jsp I think it is).

Having said that, I have no idea what the registration is for. In either case, you need to study the portals css and make sure your div's have the right classes applied to them.
thumbnail
David H Nebinger, modificado 9 Anos atrás.

RE: how apply add user styles to my own user registration page???

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
Control panel uses it's own theme.

You'd have to pull the CP theme into your theme to apply it to your own portlet, but it's going to be a job and a half trying to merge CP theme into your own.