<div dir="ltr"><div>Alan,</div><div><br></div><div>Resource file inclusion provides different short-hand syntax. The same is documented at:</div><div><a href="http://community.vtiger.com/help/vtigercrm/developers/extensions/internals.html#resource-file-paths">http://community.vtiger.com/help/vtigercrm/developers/extensions/internals.html#resource-file-paths</a><br>

</div><div><br></div><div>Please review.</div><div><br></div><div>Regards,</div><div>Prasad</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 Thu, Jul 31, 2014 at 2:36 PM, Alan Lord <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">

Hi all,<br>
<br>
In 6.1.0 the getHeaderScripts() function takes an array that usually has the format:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
'modules.Vtiger.resources.<u></u>List',<br>
"modules.$moduleName.<u></u>resources.List",<br>
'modules.CustomView.resources.<u></u>CustomView',<br>
"modules.$moduleName.<u></u>resources.CustomView",<br>
</blockquote>
<br>
whereas the getHeaderCss() function seems to always contain a format like this:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
'~/libraries/fullcalendar/<u></u>fullcalendar.css',<br>
'~/libraries/fullcalendar/<u></u>fullcalendar-bootstrap.css',<br>
'~/libraries/jquery/<u></u>colorpicker/css/colorpicker.<u></u>css'<br>
</blockquote>
<br>
I see two discrepancies between the two formats:<br>
<br>
1. For javascript files the file extension is not used<br>
2. The path format requires "/" (Unix only) instead of "."<br>
<br>
It would be better if these two functions were consistent in their use and behaviour.<br>
<br>
Cheers<br>
<br>
Al<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>