<html><head></head><body>I had trouble with this too and fixed it with saving my vtiger user again. I changed the admin flag for example with another admin and saved the user, then changed it back and saved it. Afterwards the css or js file got included. I had to repeat this step for all other users. <br>
Not sure if you have the same problem though. <br>
Best regards <br><br><div class="gmail_quote">On December 28, 2015 4:17:36 PM GMT+01:00, Estefan Civera <estefan.civera@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hi I'm trying to add a new custom function as external javascritp file in<br />Invoice module.<br /><br />I've added this with this code<br /><br />$moduleInstance = Vtiger_Module::getInstance('Invoice');<br />$moduleInstance->addLink(<br />'HEADERSCRIPT',<br />'vtInvoiceHelper',<br />'modules/Invoice/InvoiceHelper.js'<br />);<br /><br />$adb->pquery('UPDATE vtiger_tab SET customized=1 WHERE name=?',<br />array($moduleName));<br /><br />Vtlib has inserted correctly the file into the vtiger_link table, but when I<br />go in module Invoice I dont see this file included and I cant't call my<br />custom function<br /><br /><br /><br /><br />-----<br />Ing. Estefan Civera<br />Vtiger developer and consultant<br /><a href="http://www.estefancivera.net">http://www.estefancivera.net</a><br />Italy<br />--<br />View this message in context: <a
href="http://vtiger-crm.2324883.n4.nabble.com/vtlib-HEADERSCRIPT-fail-tp18040.html">http://vtiger-crm.2324883.n4.nabble.com/vtlib-HEADERSCRIPT-fail-tp18040.html</a><br />Sent from the vtigercrm-developers mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br /><hr /><br /><a href="http://www.vtiger.com">http://www.vtiger.com</a>/<br /></pre></blockquote></div><br>
-- <br>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.</body></html>