<div dir="ltr">Please review addLink example - <a href="http://community.vtiger.com/help/vtigercrm/developers/extensions/examples/city-lookup-v1.html">http://community.vtiger.com/help/vtigercrm/developers/extensions/examples/city-lookup-v1.html</a> - should work without tweaks.<div><br></div><div>Let me know if the issue persists.</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><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/vtiger6/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div></div>
<br><div class="gmail_quote">On Tue, Oct 14, 2014 at 4:12 PM, Conrado Maggi <span dir="ltr"><<a href="mailto:comaggi@gmail.com" target="_blank">comaggi@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"><div>Hello Alan,<br><br>HEADERSCRIPT is working fine for me on 6.1. Although I have to change the vtlib script a bit. The following is working for me<br><br> require_once('vtlib/Vtiger/Link.php');<br><br> $tabid = getTabId("MODULE_NAME");<br> Vtiger_Link::addLink($tabid, 'HEADERSCRIPT', 'LABEL', 'PATH', '', 0, '');<br><br><br></div>Regards,<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 14, 2014 at 11:53 AM, Alan Lord (News) <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In vtiger 5.4.0 if I add a HEADERSCRIPTS link to a javascript file using the vtlib API for my *extension* module. the file gets loaded on all page views.<br>
<br>
If I use the same API in vtiger 6.1 the file is not being loaded anywhere...<br>
<br>
Is there a mechanism I can use to load a javascript file on all pages? Or do I have to create a HEADERSCRIPT entry for all modules where I want the file to be loaded?<br>
<br>
Thanks<span><font color="#888888"><br>
<br>
Al<br>
<br>
-- <br>
Libertus Solutions<br>
<a href="http://www.libertus.co.uk" target="_blank">http://www.libertus.co.uk</a><br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</font></span></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>