Forums de discussion

Look and Feel Option on Portlets Disappeared

thumbnail
William Fleming, modifié il y a 12 années.

Look and Feel Option on Portlets Disappeared

Regular Member Publications: 180 Date d'inscription: 15/09/10 Publications récentes
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
thumbnail
Jignesh Vachhani, modifié il y a 12 années.

RE: Look and Feel Option on Portlets Disappeared

Liferay Master Publications: 803 Date d'inscription: 10/03/08 Publications récentes
please check that weather toggle edit control is checked or not with admin login ?
thumbnail
William Fleming, modifié il y a 12 années.

RE: Look and Feel Option on Portlets Disappeared

Regular Member Publications: 180 Date d'inscription: 15/09/10 Publications récentes
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..
thumbnail
manasa chandri, modifié il y a 12 années.

RE: Look and Feel Option on Portlets Disappeared

Regular Member Publications: 152 Date d'inscription: 28/09/10 Publications récentes
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
thumbnail
Rob Chan, modifié il y a 12 années.

RE: Look and Feel Option on Portlets Disappeared

Junior Member Publications: 82 Date d'inscription: 23/03/11 Publications récentes
Do you have staging enabled?

It's also possible that the option has been removed if the velocity templates have been changed.
thumbnail
William Fleming, modifié il y a 12 années.

RE: Look and Feel Option on Portlets Disappeared

Regular Member Publications: 180 Date d'inscription: 15/09/10 Publications récentes
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
Ermias Teshome, modifié il y a 11 années.

RE: Look and Feel Option on Portlets Disappeared

Junior Member Publications: 36 Date d'inscription: 12/03/11 Publications récentes
Hi William, did you get a solution for that?
Nikita Puzankow, modifié il y a 10 années.

RE: Look and Feel Option on Portlets Disappeared

New Member Publications: 3 Date d'inscription: 13/06/13 Publications récentes
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
Ermias Teshome, modifié il y a 10 années.

RE: Look and Feel Option on Portlets Disappeared

Junior Member Publications: 36 Date d'inscription: 12/03/11 Publications récentes
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?
thumbnail
Fernando Fernandez, modifié il y a 9 années.

RE: Look and Feel Option on Portlets Disappeared

Expert Publications: 396 Date d'inscription: 22/08/07 Publications récentes
I confirm that having "portlet.css.enabled=false" in portal-ext.properties disables the portlet Look&Feel menu item. :-)