Quick Nav:  Online Store   |   Login | Register

Missing JS file

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
caroig
<100 Posts
Posts:57


04/10/2008 7:16 AM  

In one my skins I need to load jQuery in the head section and I've been using the injector as described  in the snapsis blog. 

Now that I have installed pageblaster (latest full), there is no sign of the jquery library in the rendered page - I'm not quite sure what's going on.

I guess I can use pB as the injector now, but how do I ensure that my jQuery library is loaded first.

Thanks

John Mitchell
Posts:3492


04/10/2008 4:20 PM  
If a JS link is in the head, then it's file contents will be merged together with the rest of the JS files in the head.
I think that jQuery has a problem with the optimizations, so you may want to just exclude it from being merged.
Put this excludePath in your Snapsis.PageBlaster.config.

path pattern="jQuery" excludeFrom="MergeJS"
Briana Tarrance
<20 Posts
Posts:3


06/25/2008 3:45 AM  

Hi there - having the same issue with jQuery. I've included the exclude as John described and I'm using the injector outlined in the blog post...but, still no love. How can I use pB as the injector (I'm using the latest 3.3.1 version of PB).

thanks...banging my head over here in the meantime! :-)

John Mitchell
Posts:3492


06/25/2008 8:11 AM  

Hi Briana,

Do you see the JQuery link in the output of the page?  Are you getting Javascript errors?

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software