<div dir="ltr">My suggestion would be to handle the enhancements via extensions rather than messing with core-files.<div>You many be interested in the <a href="http://community.vtiger.com/help/vtigercrm/developers/extensions/examples.html">examples</a>. <br>
</div></div><div class="gmail_extra"><br clear="all"><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>
<br><br><div class="gmail_quote">On Sat, Jun 28, 2014 at 10:30 PM, Kristian Koci <span dir="ltr"><<a href="mailto:kristian.koci@gmail.com" target="_blank">kristian.koci@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi, it's me again.<div><br></div><div>I'm trying to re-use a code made for Accounting module 5.x, just a tiny part of it, because i need to show some fields with specific colors, depending on the state of a record on it.</div>
<div><br></div><div>However, as far as i know, the tpl style class which controlls or specifies the field shown on ListView in every module it's the ListView.tpl from Vtiger default module. So it has completely changed from Vtiger 5.x.</div>
<div><br></div><div>ie: <span style="font-family:Consolas,'Lucida Console',monospace;font-size:12px;white-space:pre-wrap">listViewEntryValue </span></div><div><font face="Consolas, Lucida Console, monospace"><span style="font-size:12px;white-space:pre-wrap"><br>
</span></font></div><div><span style="font-size:12px;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">How can i assign a color to that class in a custom module, if x or y field is in z state, for example?</font></span></div>
<div><span style="font-size:12px;white-space:pre-wrap"><font face="arial, helvetica, sans-serif"><br></font></span></div><div><span style="font-size:12px;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">Should i do this the old way around on ListView.php or maybe on tpl custom file directly?</font></span></div>
<div><span style="font-size:12px;white-space:pre-wrap"><font face="arial, helvetica, sans-serif"><br></font></span></div><div><span style="font-size:12px;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">I really don't know how to achieve this on Vtiger 6.x</font></span></div>
<div><span style="font-size:12px;white-space:pre-wrap"><font face="arial, helvetica, sans-serif"><br></font></span></div><div><span style="font-size:12px;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">Any help would be greatly appreciated, thanks in advance!<span class="HOEnZb"><font color="#888888"><br clear="all">
</font></span></font></span><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div dir="ltr">Kristian Koci<div>Cel. 0416 202 92 94</div><div><br></div><div>
<a href="http://twitfooter.com/twitter/view/kkoci80" target="_blank">
<img src="http://twitfooter.com/twitter/img/92343472"> </a></div>
<a href="http://twitfooter.com/twitter/view/kkoci80" target="_blank">
</a>
<a href="http://twitfooter.com/twitter/view/kkoci80" target="_blank">
</a>
<a href="http://twitfooter.com/twitter/view/kkoci80" target="_blank">
</a>
<a href="http://twitfooter.com/twitter/view/kkoci80" target="_blank">
</a>
<a href="http://twitfooter.com/twitter/view/kkoci80" target="_blank">
</a>
<a href="http://twitfooter.com/twitter/view/kkoci80" target="_blank">
</a>
<a href="http://twitfooter.com/twitter/view/kkoci80" target="_blank">
</a>
<a href="http://twitfooter.com/twitter/view/kkoci80" target="_blank">
</a>
</div>
</font></span></div></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>