Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
MANOVINAYAK AYYAPPAN
Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta
December 20, 2011 11:23 PM
Answer

MANOVINAYAK AYYAPPAN

Rank: Regular Member

Posts: 132

Join Date: June 13, 2011

Recent Posts

Hi All,

We had developed a custom theme for our Project in 6.0.6 Community Edition. All is well with 6.0.6.

Right now we have plans for moving the Project to 6.1, so I am working on moving the existing theme which was developed in 6.0.6 to 6.1.

The build was Successful, but during Deployment, I get the following message:

"Themes in this WAR are not compatible with Liferay Portal Community Edition / 6.1.0"

Does that mean that the Theme developed in 6.0.6 is quite different from 6.1.0, or am I missing something. Please let me know.
Below is the end part of the Stack Trace from my Local Tomcat 7 server.

 1  Copying 1073 files to D:\onePlace\onePlace-6.1\liferay-portal-6.1.0-ce-b4\tomcat-7.0.22\webapps\oneplaz-theme
 2  Copying 1 file to D:\onePlace\onePlace-6.1\liferay-portal-6.1.0-ce-b4\tomcat-7.0.22\webapps\oneplaz-theme
 3  Deleting directory D:\onePlace\onePlace-6.1\liferay-portal-6.1.0-ce-b4\tomcat-7.0.22\temp\20111221070953092
 407:10:43,188 INFO  [ThemeAutoDeployListener:50] Themes for D:\onePlace\onePlace-6.1\liferay-portal-6.1.0-ce-b4\deploy\oneplaz-theme-6.1.0.1.war copied successfully. Deployment will start in a few seconds.
 507:10:48,355 INFO  [PluginPackageUtil:1101] Reading plugin package for oneplaz-theme
 6Dec 21, 2011 7:10:48 AM org.apache.catalina.startup.HostConfig checkResources
 7INFO: Reloading context [/oneplaz-theme]
 807:10:58,908 WARN  [PluginPackageUtil:1367] Unable to reindex unistalled package oneplaz-theme: Unable to communicate with repository http://plugins.liferay.com/official
 907:10:58,908 INFO  [ThemeHotDeployListener:211] Unregistering themes for oneplaz-theme
1007:10:58,908 INFO  [ThemeHotDeployListener:247] 0 themes for oneplaz-theme was unregistered
1107:10:59,720 INFO  [PluginPackageUtil:1101] Reading plugin package for oneplaz-theme
1207:10:59,829 INFO  [ThemeHotDeployListener:256] Registering themes for oneplaz-theme
1307:10:59,845 ERROR [ThemeLocalServiceImpl:489] Themes in this WAR are not compatible with Liferay Portal Community Edition / 6.1.0
1407:10:59,845 INFO  [ThemeHotDeployListener:189] 0 themes for oneplaz-theme are available for use



I know that is very early to move to 6.1.0, but we are currently executing a POC, as we felt that this is the right time.

Please help in this regard.

Thanks and Regards,
Mano
Maarten van Heiningen
RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta
December 20, 2011 11:30 PM
Answer

Maarten van Heiningen

Rank: Regular Member

Posts: 173

Join Date: February 5, 2009

Recent Posts

Hi,

Did you check the liferay-look-and-feel.xml in the WEB-INF folder?

here you will need to make sure the server version is supported.

 1<?xml version="1.0"?>
 2<!DOCTYPE look-and-feel PUBLIC "-//Liferay//DTD Look and Feel 6.0.0//EN" "http://www.liferay.com/dtd/liferay-look-and-feel_6_0_0.dtd">
 3
 4<look-and-feel>
 5    <compatibility>
 6        <version>6.1.0+</version>
 7    </compatibility>
 8    <theme id="YOUR-THEME-ID" name="YOUR-THEME-NAME" />
 9</look-and-feel>
MANOVINAYAK AYYAPPAN
RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta
December 20, 2011 11:56 PM
Answer

MANOVINAYAK AYYAPPAN

Rank: Regular Member

Posts: 132

Join Date: June 13, 2011

Recent Posts

Hi Maarten van Heiningen,

Bingo !!! Thanks a lot emoticon !!!! You are a genius emoticon.

I changed the <version>6.1.0+</version> and it worked perfectly well.

Now I am able to get the theme deployed and even apply it to my pages.

Thanks a lot once again emoticon !!!

Thanks and Regards,
Mano
Maarten van Heiningen
RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta
December 21, 2011 12:00 AM
Answer

Maarten van Heiningen

Rank: Regular Member

Posts: 173

Join Date: February 5, 2009

Recent Posts

Thanks emoticon I hope you get the POC working well.

Best Maarten
Geeta Raghu Vamsi Kotipalli
RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta
December 21, 2011 2:13 AM
Answer

Geeta Raghu Vamsi Kotipalli

Rank: Junior Member

Posts: 58

Join Date: November 9, 2011

Recent Posts

MANOVINAYAK AYYAPPAN:
Hi Maarten van Heiningen,

Bingo !!! Thanks a lot emoticon !!!! You are a genius emoticon.

I changed the <version>6.1.0+</version> and it worked perfectly well.

Now I am able to get the theme deployed and even apply it to my pages.

Thanks a lot once again emoticon !!!

Thanks and Regards,
Mano



So theme Migration From a Lower Version to Higher Version Matters Only just with the Change of the Version Name in the Xml???

If So Can i Try making that Work A migration from 5.1.2 to 6.0.6????
MANOVINAYAK AYYAPPAN
RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta
December 21, 2011 2:19 AM
Answer

MANOVINAYAK AYYAPPAN

Rank: Regular Member

Posts: 132

Join Date: June 13, 2011

Recent Posts

Hi Vamsi,

I dont think so. I had a challenge in deploying the Theme.

But after deploying and applying to pages, I have lot of inconsistencies, for which I need to make changes to the VM templates based on 6.1 standard VM templates.
I need to do many more changes, so this is proving to be more like a mini development.

Regards,
Mano
Michele Giacobazzi
RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta
May 17, 2012 7:12 AM
Answer

Michele Giacobazzi

Rank: Junior Member

Posts: 40

Join Date: September 9, 2011

Recent Posts

In my "old theme" i got:

1
2    <compatibility>
3        <version>6.0.6+</version>
4    </compatibility>


what is that (+) supposed to mean? I thought it could be "from version 6.0.6 on".
Is there a way to produce a war compatible with both 6.0.6 and 6.1.0?
Michele Giacobazzi
RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta
May 17, 2012 7:20 AM
Answer

Michele Giacobazzi

Rank: Junior Member

Posts: 40

Join Date: September 9, 2011

Recent Posts

I discovered that you can add more than one version tag.

1
2    <compatibility>
3        <version>6.0.6+</version>
4        <version>6.1.0+</version>
5    </compatibility>


I'm still wondering what does the + sign stands for. The dtd does no mention of it.
MANOVINAYAK AYYAPPAN
RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta
May 17, 2012 8:01 AM
Answer

MANOVINAYAK AYYAPPAN

Rank: Regular Member

Posts: 132

Join Date: June 13, 2011

Recent Posts

I believe (+) should refer to the last digit of the version.
.6 + should be for .7 and so onemoticon

Regards,
Mano
mehdi sunasara
RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta
March 4, 2013 2:17 AM
Answer

mehdi sunasara

Rank: Junior Member

Posts: 26

Join Date: September 12, 2012

Recent Posts

Still it is not able to work........
It shows error like

"No theme found for specified theme ID .Returning to default theme"
Anonymous
RE: Unable to port Theme from 6.0.6 Community Edition to 6.1.0 Beta
March 4, 2013 9:15 AM
Answer

Anonymous

Themes in 6.0 and 6.1 are completely different.

Without knowing the entire situation, I would create a new theme using the 6.1 Plugins SDK, and compare portal_normal.vm of the theme from 6.0 and /webapps/ROOT/html/themes/_unstyled/templates/portal_normal.vm

then merge the content in portal_normal.vm of the newly created 6.1 theme. Once the markup is there and looks somewhat ok, then you will have to look and make note of any class name changes from 6.0 to 6.1. Then change those in your custom.css file.

It will take some tweaking and checking but its doable. Some features to be glad about in 6.1 are theme settings, and SASS. Those two features make theme development in 6.1 a treat!.

Hope this helps.