Message Boards

Zk themer tool not working in liferay

karthik jayaraman, modified 14 Years ago.

Zk themer tool not working in liferay

New Member Posts: 6 Join Date: 2/7/10 Recent Posts
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
Lisa Simpson, modified 14 Years ago.

RE: Zk themer tool not working in liferay

Liferay Legend Posts: 2034 Join Date: 3/5/09 Recent Posts
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.
Jose Ignacio Santa Cruz G., modified 13 Years ago.

RE: Zk themer tool not working in liferay

Junior Member Posts: 50 Join Date: 6/16/09 Recent Posts
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
Varun Vyas, modified 11 Years ago.

RE: Zk themer tool not working in liferay

New Member Post: 1 Join Date: 7/11/12 Recent Posts
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>