deepsea887 / sigplus

Automatically exported from code.google.com/p/sigplus
0 stars 0 forks source link

RokBooster #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!
RT released some time ago, an extension to their templates and not just to 
"speed up" the page. A few days ago they released a new version of its 
framewrok Gantry.
I note that the inclusion of RokBooster lightboc SigPlus stops working.

Of course, this is not a problem but it's worth SigPlus know.

Best Regards!

P.S.
R.T. SigPlus still investigating why it does not work on mobile versions of RT 
template.

Original issue reported on code.google.com by ten.mari...@gmail.com on 8 Sep 2012 at 7:29

GoogleCodeExporter commented 9 years ago
This problem, like with all script mergers, should be solved by setting 
"JavaScript library source" on the sigplus configuration page in the back-end 
to "local copy". Otherwise, sigplus will use a content delivery network (CDN) 
to load jQuery, which relies on a particular order and separation of local and 
remote scripts in the HTML source, which might be disrupted by the script 
merger, causing sigplus to malfunction. "Local copy" ensures the script source 
is always a local file, and no remote content is referenced by sigplus.

Furthermore, from version 1.5.0.165 onwards, sigplus checks the Joomla version 
and uses Joomla's bundled jQuery for Joomla 3.0 and later, which relies on a 
local copy of jQuery included with the command

JHTML::_('jquery.framework')

Being part of Joomla core, all script mergers compatible with Joomla 3.0 must 
support the above approach of extensions loading jQuery.

Original comment by huny...@gmail.com on 21 Oct 2012 at 5:23