RE: Chroma theme in Liferay 7.2 GA1 CE

BRODY HIGGS JR, modified 6 Years ago. Junior Member Posts: 61 Join Date: 5/16/14 Recent Posts
My Liferay 6.2 GA6 CE to Liferay 7.2 GA1 CE upgrade was successful.In Liferay 6.2 GA6, the Chroma theme was used for an existing site.  In Liferay 7.2 GA1 CE, I see it displayed under ‘Site Templates’, but not under ‘Available Themes.’  How can I change the current theme from classic to use Chroma theme?
thumbnail
Alberto Chaparro, modified 6 Years ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts
Hey Brody,The Chroma theme is not an application created by Liferay, please contact the developer who made it to see if there are plans to upgrade to 7.2:https://web.liferay.com/es/marketplace/-/mp/application/45574885
It seems that it is open source so maybe you could upgrade it too:https://github.com/danielreuther/chroma-theme
BRODY HIGGS JR, modified 6 Years ago. Junior Member Posts: 61 Join Date: 5/16/14 Recent Posts
In Liferay 6.2, once deployed, themes were stored in subfolders within the liferay\tomcat\webapps\themename, but this is not the case (as far as I know) with Liferay 7.2 GA1 CE.  Once installed, where are themes located?  Are the theme folders located in another folder other than webapps in Liferay 7.2 GA1 CE?
thumbnail
Christoph Rabel, modified 6 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
In Liferay 7 most modules (including themes) are loaded through the osgi runtime. There is no explicit themes folder anymore. That has no impact on functionality, you just don't see the deployed themes anymore.
That said: That Chroma theme is based on velocity, which is deprecated in Liferay. I am not sure, if this still works, but probably some calls have changed, taglibs and other functionality. So, you would need to fix the code. But the main problem is that the bootstrap version changed and with it the whole css "infrastructure".
Upgrading the theme is probably a lot of work. It could even be less work to write it from scratch again and just reuse some of code/styles.