how to import a theme in liferay 7 workspace?

前端 未结 2 947
情深已故
情深已故 2021-01-17 03:37

how to import a theme in liferay 7 workspace?

I added the theme under workspace/themes and I tried to deploy it but did not work. The build type of my Theme is Ant.<

相关标签:
2条回答
  • 2021-01-17 04:16

    Not sure if this helps, but: Try 7.0 GA5. It might have fixed an issue that you're running into. Also, it might help the mismatch of your stated version and the declared compatibility

    <look-and-feel>
        <compatibility>
            <version>7.0.2+</version>
        </compatibility>
        ...
    </look-and-feel>
    

    7.0.2+ refers to "7.0 GA3 and later", but you state that you're using GA1. Many issues have been fixed since then. Do a quick try declaring compatibility with 7.0.0+, but, by all means, use the most current version as a long term fix.

    0 讨论(0)
  • 2021-01-17 04:27

    To upgrade existing liferay 6 theme refer following url

    https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/upgrading-themes
    

    use following command to upgrade your existing liferay 6 theme.

    gulp upgrade
    

    You can build liferay 7 theme using following url, and copy your existing liferay theme css, js and portal files to new theme directory.

    https://web.liferay.com/web/smgulnaaz/blog/-/blogs/theme-creation-in-liferay-7
    
    0 讨论(0)
提交回复
热议问题