Fórum

Custom theme for control panel in liferay 7

Durga prasada Rao Kasina, modificado 6 Anos atrás.

Custom theme for control panel in liferay 7

New Member Postagens: 21 Data de Entrada: 26/07/12 Postagens Recentes
I am creating custom theme for control panel in liferay 7.

I have created a theme using yo liferay-theme command and it got created.
I registed this theme as control panel theme in portal-ext.properties as shown below:
control.panel.layout.regular.theme.id=masco-cabinetry-controlpanel_WAR_masco-cabinetry-controlpaneltheme

Restarted the server and deployed the theme and it was successful.

I tried to select my theme under:
Control Panel → Configuration → Instance Settings → Miscellaneous → Default Control Panel Theme
but i don't see my theme under this drop down.

Can anybody pls. help me to understand what i am missing here and also suggest how to resolve this issue
thumbnail
Andrew Jardine, modificado 6 Anos atrás.

RE: Custom theme for control panel in liferay 7

Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
I haven't tried this yet in 7, so maybe something has changed since 6.2 - but the fist thing that caught my eye was your name you used in the portal-ext.

control.panel.layout.regular.theme.id=masco-cabinetry-controlpanel_WAR_masco-cabinetry-controlpaneltheme


normally the hypens and underscores are removed so the name would become

control.panel.layout.regular.theme.id=mascocabinetrycontrolpanel_WAR_mascocabinetrycontrolpaneltheme


.. but I don't know that it would explain why you don't see it in the Control Panel. Are you sure the the bundle is started? Have you checked using the gogo shell?