Home » Mobile

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
Mariona Blanch
Mobile Device Rules Theme Modification
21. Mai 2014 03:21

Mariona Blanch

Rang: New Member

Nachrichten: 1

Eintrittsdatum: 31. Januar 2014

Neue Beiträge


I am using Liferay 6.2 and I created a theme for mobile devices and set the proper mobile device rules to modify the theme on my site, but when i connect through a mobile device, it does apply the theme but I can't see the web content. I get "Web Content Display is temporarily unavailable" and the following error on the log:

11:25:34,496 ERROR [RuntimePageImpl-615][render_portlet_jsp:132] null
at com.liferay.portal.model.impl.ColorSchemeImpl.hashCode(
at java.lang.Object.toString(
at java.lang.String.valueOf(
at com.liferay.util.portlet.PortletRequestUtil._isValidAttributeValue(
at com.liferay.util.portlet.PortletRequestUtil.toXML(
at com.liferay.portlet.journalcontent.action.ViewAction.render(
at com.liferay.portal.struts.PortletAction.execute(
at org.apache.struts.action.RequestProcessor.processActionPerform(
at com.liferay.portal.struts.PortletRequestProcessor.processActionPerform(
at org.apache.struts.action.RequestProcessor.process(
at com.liferay.portal.struts.PortletRequestProcessor.process(
at com.liferay.portlet.StrutsPortlet.include(
at com.liferay.portlet.StrutsPortlet.doView(
at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(
at javax.portlet.GenericPortlet.render(
at com.liferay.portlet.FilterChainImpl.doFilter(
at com.liferay.portlet.ScriptDataPortletFilter.doFilter(
at com.liferay.portlet.FilterChainImpl.doFilter(
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(
at com.liferay.portlet.InvokerPortletImpl.invoke(

After this, if I modify the theme to classic (default or light) it works fine from mobile device, but not with any other theme.

Can anyone help me with this issue? I couldn't find any references of this issue anywhere.

Thanks so much!
siddhant jain
RE: Mobile Device Rules Theme Modification
20. November 2014 00:49

siddhant jain

Rang: Junior Member

Nachrichten: 69

Eintrittsdatum: 19. März 2013

Neue Beiträge

hello Mariona,

I know its too late to reply.
I was also having the same issue in using theme modification. I have figured out one solution for this.
I have edited the "liferay-look-and-feel.xml" file in the web-inf folder of my theme and edited the code to below:

 1<?xml version="1.0"?>
 2<!DOCTYPE look-and-feel PUBLIC "-//Liferay//DTD Look and Feel 6.2.0//EN" "">
 5    <compatibility>
 6        <version>6.2.10+</version>
 7    </compatibility>
 8    <theme id="your-theme-id" name="theme-name" >
 9    <color-scheme id="02" name="Night">
10        <css-class>night</css-class>
11    </color-scheme>
12    </theme>

Alberto Arenas Toledo
RE: Mobile Device Rules Theme Modification
5. Mai 2015 04:11

Alberto Arenas Toledo

Rang: New Member

Nachrichten: 6

Eintrittsdatum: 10. November 2010

Neue Beiträge

You saved my day!
Thank you!
Gunther Verhemeldonck
RE: Mobile Device Rules Theme Modification
30. November 2015 01:26

Gunther Verhemeldonck

Rang: New Member

Nachrichten: 5

Eintrittsdatum: 23. November 2012

Neue Beiträge

We had the same issue on a project we migrated from 6.1EE to 6.2EE. The ColorScheme was added, but we still had to remove/add the Theme Switch rule again to make it work.