Foren
Look and Feel Option on Portlets Disappeared
William Fleming, geändert vor 12 Jahren.
Look and Feel Option on Portlets Disappeared
Regular Member Beiträge: 180 Beitrittsdatum: 15.09.10 Neueste Beiträge
We have a Liferay configuration running on 6.0.6 version and it has been drawn to my attention that the " look and feel" option on individual portlets has disappeared. No idea when this changed or what has caused it. Could it be anything to do with custom CSS being put on pages or theme plugins being loaded?
Anybody know what could be the reasoning behind this or had similar experiences with this?
Thanks
William
Anybody know what could be the reasoning behind this or had similar experiences with this?
Thanks
William
Jignesh Vachhani, geändert vor 12 Jahren.
RE: Look and Feel Option on Portlets Disappeared
Liferay Master Beiträge: 803 Beitrittsdatum: 10.03.08 Neueste Beiträge
please check that weather toggle edit control is checked or not with admin login ?
William Fleming, geändert vor 12 Jahren.
RE: Look and Feel Option on Portlets Disappeared
Regular Member Beiträge: 180 Beitrittsdatum: 15.09.10 Neueste Beiträge
Nope I am a admin and the toggle setting is on. So all the options should be there. I can use the export and configuration options but look and feel is gone..
manasa chandri, geändert vor 12 Jahren.
RE: Look and Feel Option on Portlets Disappeared
Regular Member Beiträge: 152 Beitrittsdatum: 28.09.10 Neueste Beiträge
HI William Fleming,
Try this code, keep this code in your jsp page.
ThemeDisplay themeDisplay= (ThemeDisplay)request.getAttribute(WebKeys.THEME_DISPLAY);
PortletDisplay portletDisplay= themeDisplay.getPortletDisplay();
portletDisplay.setShowPortletCssIcon(true);
Thanks & Regards
Manasa.chandri
Try this code, keep this code in your jsp page.
ThemeDisplay themeDisplay= (ThemeDisplay)request.getAttribute(WebKeys.THEME_DISPLAY);
PortletDisplay portletDisplay= themeDisplay.getPortletDisplay();
portletDisplay.setShowPortletCssIcon(true);
Thanks & Regards
Manasa.chandri
Rob Chan, geändert vor 12 Jahren.
RE: Look and Feel Option on Portlets Disappeared
Junior Member Beiträge: 82 Beitrittsdatum: 23.03.11 Neueste Beiträge
Do you have staging enabled?
It's also possible that the option has been removed if the velocity templates have been changed.
It's also possible that the option has been removed if the velocity templates have been changed.
William Fleming, geändert vor 12 Jahren.
RE: Look and Feel Option on Portlets Disappeared
Regular Member Beiträge: 180 Beitrittsdatum: 15.09.10 Neueste Beiträge
Staging is enbaled on one of our sites...? We removed the 7 cogs template that we edited and used and still the look and feel option is gone..
Any other reason that this could be gone?
Thanks
William
Any other reason that this could be gone?
Thanks
William
Ermias Teshome, geändert vor 11 Jahren.
RE: Look and Feel Option on Portlets Disappeared
Junior Member Beiträge: 36 Beitrittsdatum: 12.03.11 Neueste Beiträge
Hi William, did you get a solution for that?
Nikita Puzankow, geändert vor 10 Jahren.
RE: Look and Feel Option on Portlets Disappeared
New Member Beiträge: 3 Beitrittsdatum: 13.06.13 Neueste Beiträge
I have resolve this problem in portal.properties:
Saves some 50Kb on every page but portlet look-feel modification is not possible for all (including (Omni)Admin)
## Portlet CSS Portlet
# Set this to true to enable the ability to modify portlet CSS at runtime
# via the Look and Feel icon. Disabling it can speed up performance.
portlet.css.enabled=false
#
# Set this to false if the system does not use allow users to modify the
# look and feel.
#
look.and.feel.modifiable=true
Saves some 50Kb on every page but portlet look-feel modification is not possible for all (including (Omni)Admin)
## Portlet CSS Portlet
# Set this to true to enable the ability to modify portlet CSS at runtime
# via the Look and Feel icon. Disabling it can speed up performance.
portlet.css.enabled=false
#
# Set this to false if the system does not use allow users to modify the
# look and feel.
#
look.and.feel.modifiable=true
Ermias Teshome, geändert vor 10 Jahren.
RE: Look and Feel Option on Portlets Disappeared
Junior Member Beiträge: 36 Beitrittsdatum: 12.03.11 Neueste Beiträge
I'll try that, but it's recommended to add changes in portal-ext.properties in order to override the properties in portal.properties, have you tried it that way?
Fernando Fernandez, geändert vor 9 Jahren.
RE: Look and Feel Option on Portlets Disappeared
Expert Beiträge: 396 Beitrittsdatum: 22.08.07 Neueste Beiträge
I confirm that having "portlet.css.enabled=false" in portal-ext.properties disables the portlet Look&Feel menu item. :-)