掲示板

Zk themer tool not working in liferay

14年前 に karthik jayaraman によって更新されました。

Zk themer tool not working in liferay

New Member 投稿: 6 参加年月日: 10/02/07 最新の投稿
People i created a jar file using zk themer tool to change my zk theme and tried using it in a eclipse zk project and succedded . But when i created a zk portlet in liferay and included my theme jar file but cannot get it working. The zk page renders using default color. Please help me soon . I even posted this in zk forum and they said its a problem with liferay .. I am under the hammer..Please help guyzzz
thumbnail
14年前 に Lisa Simpson によって更新されました。

RE: Zk themer tool not working in liferay

Liferay Legend 投稿: 2034 参加年月日: 09/03/05 最新の投稿
1) Try using a WAR file

2) You might try asking in the custom theme development to see if anyone else uses this tool and how to do it.
13年前 に Jose Ignacio Santa Cruz G. によって更新されました。

RE: Zk themer tool not working in liferay

Junior Member 投稿: 50 参加年月日: 09/06/16 最新の投稿
Did you try loading the css styles directly?
Try something like this afte the <zk> tag of your zul files:
<style src="css/main.css" dynamic="true"></style>&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;If it doesn&amp;#39;t work try with&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;style src=".~/css/main.css" dynamic="true" /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Not exactly ZK styled using the theme tool, but it should help you with the &lt;em&gt;&amp;#34;looks&amp;#34;&lt;/em&gt;.
thumbnail
11年前 に Varun Vyas によって更新されました。

RE: Zk themer tool not working in liferay

New Member 投稿: 1 参加年月日: 12/07/11 最新の投稿
Add the generated jar file lib dir and add below lines in zk.xml file

<desktop-config>
<theme-provider-class>zkthemer.ThemeProvider</theme-provider-class>
</desktop-config>