Foren

Zk themer tool not working in liferay

karthik jayaraman, geändert vor 14 Jahren.

Zk themer tool not working in liferay

New Member Beiträge: 6 Beitrittsdatum: 07.02.10 Neueste Beiträge
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, geändert vor 14 Jahren.

RE: Zk themer tool not working in liferay

Liferay Legend Beiträge: 2034 Beitrittsdatum: 05.03.09 Neueste Beiträge
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., geändert vor 13 Jahren.

RE: Zk themer tool not working in liferay

Junior Member Beiträge: 50 Beitrittsdatum: 16.06.09 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: Zk themer tool not working in liferay

New Member Beitrag: 1 Beitrittsdatum: 11.07.12 Neueste Beiträge
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>