Jump to content

Recommended Posts

Posted

Hi!

I need to use javascript 1.9.1 using

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

however when I do it the no route passed issue occurs. Does anybody know how I can use js 1.9.1 without having this error?

Thanks!

Jacob

Posted

Hi,

This doesn't work still, I have to have that link above the body end tag. There are no other js links in the page minus the core ones and even when I've tried removing them it does not work either.

Thanks

Jacob

Posted

Usually the no routes passed is from a js issue. SO I would guess that 1.9.1 is it. Maybe its not compatible with phpBMS. No idea really, just a guess. It also be from the way you have you js layed out in the layout.tpl or layout.php.

Posted

Order Matters. First, be sure to have that loaded up only inside the core_htmlhead.tpl file. Nowhere else. Second, be sure that the library is loaded BEFORE any other libraries. This will allow the default phpvms libraries to override the functions and still allow it's core functions to work properly.

Posted

(BTW jQuery ≠ Javascript oh gosh :()

Actually jQuery is a javascript library. Respectfully: ln(jQuery)^2 = ln(javascript)^2 :P

BUT, Tom is right. It's called jQuery 1.9.1, not Javascript 1.9.1. The latter is nonexistent.

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...