liferay-7

how to import a theme in liferay 7 workspace?

做~自己de王妃 提交于 2019-12-04 02:33:14
问题 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. The following picture shows the details: I put the Theme under *sdk\com.liferay.portal.plugins.sdk-1.0.11\themes* and I tried to test it as in Liferay 6. Import-> Liferay Projects from plugins SDK then when adding the SDK I got an error : app.server.dir is invalid. Please reconfigure Plugins SDK setting: app.server.dir=path to

jQuery plugin in a Liferay 7 theme

六眼飞鱼酱① 提交于 2019-12-03 22:29:18
问题 I need some help understanding Liferay 7 themes, specifically to use jQuery plugins. As I am having the same issue as in this thread: https://web.liferay.com/community/forums/-/message_boards/view_message/79089004 "is not a function" is occuring whenever I call the plugin function I tried to install. I am tring all the possible placements for this: <script type="text/javascript" src="${javascript_folder}/mCustomScrollbar.js"></script> When I inspect the page I can see the jQuery object there,

How can I add a new language in Liferay 7?

南楼画角 提交于 2019-12-01 20:31:39
My problem is how to add new language like thailand language in liferay 7 . When I inspect the existing flag I see that the image is not png but it is svg, but I can't add new language with icon. In this page.jsp I see that the constructor of image is automatically generated. This code describes the generation of svg image <svg class="lexicon-icon lexicon-icon-<%= image %>" role="img" title="<%= HtmlUtil.escapeAttribute(LanguageUtil.get(resourceBundle, label)) %>" <%= InlineUtil.buildDynamicAttributes(dynamicAttributes) %>> <use xlink:href="<%= Validator.isNotNull(src) ? src : themeDisplay

How to add language icons in liferay DXP

南笙酒味 提交于 2019-12-01 05:41:47
问题 How to add the Language icon image in liferay 7(liferay-ce-portal-7.0-ga4). I have followed the steps mentioned in following article, https://web.liferay.com/web/salman.khan/blog/-/blogs/add-a-new-language-to-liferay-detailed-step-by-step- After the language configuration I can be able to see the languages but not the flags on web content forms. So I created the custom theme to add the language file and added th_TH.png file in theme\src\images\language\th_TH.png. But din't work. Then I tried