Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay 7 theme
Can i upgrade 6.2 EE 'theme' to Liferay 7 using 'Liferay Upgrade Tool'?
Hello Mahesh,
You can use gulp upgrade command to upgrade your theme.
Here is the tutorial upgrade liferay theme form 6.2 to 7.0
The code upgrade tool didn't support to upgrade theme now.
You can use gulp upgrade command to upgrade your theme.
Here is the tutorial upgrade liferay theme form 6.2 to 7.0
The code upgrade tool didn't support to upgrade theme now.
Hi @Joye
As you suggested, i tried to upgrade the theme using GULP but seems another error coming '
TypeError: str.indexOf' is not a function
strange thing is , it doesn't show up the theme files in which above error starts populating.
PFA screenshot as well.
Appreciate the extended help.
As you suggested, i tried to upgrade the theme using GULP but seems another error coming '
TypeError: str.indexOf' is not a function
strange thing is , it doesn't show up the theme files in which above error starts populating.
PFA screenshot as well.
Appreciate the extended help.
Attachments:
Hey Mahesh,
Actually, I am not familiar with how to upgrade a theme.
You can post an thread in liferay theme part so that u can get better solution.
Sincerely,
Joye Luo
Actually, I am not familiar with how to upgrade a theme.
You can post an thread in liferay theme part so that u can get better solution.
Sincerely,
Joye Luo
Hey Mahesh,
You can follow https://github.com/liferay/liferay-themes-sdk/issues/80 for more information on a fix for this problem. As can be found there, you likely have empty rules like the following:
.portlet-column-content {}
.vv-form-group label {}
You might just as well get rid of as a workaround while we fix the issue
Hope that helps!
Hi Mahesh,
You replace var str = item.str || item; with var str = (item.str || item) + ""; in file css.js
Run gulp upgrade
/BR
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™