luis
luis
Offline
0
Hi!

I've just installed b2j contact, looking really good.

However, we have a problem with where the included jquery libraries are located.

As an additional security measure we have the joomla administrator folder password-protected using htaccess. When we tested bj2-contact we found it tried to get jQuery from the administrator/component folder, which breaks the form for our regular users who are denied access to that part of the website.

To avoid this problem and improve download performance we suggest in future versions to include js libraries from a CDN.

We took the liberty of modifying the appropriate lines in fieldsbuilder.php and everything seems to work fine now:



$document->addScript('https://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery' . $min .'.js');

$document->addScript('https://cdnjs.cloudflare.com/ajax/libs/chosen/0.9.8/chosen.jquery' . $min . ".js");



Regards,

Luis
Responses (0)
Sorry, but you are not allowed to view the replies here.
Your Reply

Cron Job Starts