Fórumok

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

saritha reddy, módosítva 9 év-val korábban

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

Junior Member Bejegyzések: 95 Csatlakozás dátuma: 2014.01.27. Legújabb bejegyzések
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, módosítva 9 év-val korábban

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

Liferay Legend Bejegyzések: 2416 Csatlakozás dátuma: 2010.12.22. Legújabb bejegyzések
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, módosítva 9 év-val korábban

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

Liferay Legend Bejegyzések: 14914 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
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.