Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap with DotNetNuke v6.01.05 #3440

Closed
teres66 opened this issue May 10, 2012 · 2 comments
Closed

bootstrap with DotNetNuke v6.01.05 #3440

teres66 opened this issue May 10, 2012 · 2 comments

Comments

@teres66
Copy link

teres66 commented May 10, 2012

In DotNetNuke v6.01.05 We work with files ".ascx" for build our skins, but when I apply this skin in one page I show a problem in IE9 It show this error:“Error:Object doesn't support property or method 'on'” or " Object doesn't support property or method 'dnnConfirm'" in “bootstrap.js” or "jquery.js", version jQuery v1.7.1

In the end of files ".ascx" I put:

<script type="text/javascript" src="<%=skinpath%>js/jquery.js"></script> <script type="text/javascript" src="<%=skinpath%>js/bootstrap.js"></script>

"jquery.js" and "bootstrap.js" are files that I download from here http://twitter.github.com/bootstrap/

Please help me.

@teres66
Copy link
Author

teres66 commented May 11, 2012

Thanks to Armand Datema @nokiko for the solution of my problem. You only check two points:

  1. Change the configuration of DNN in Host -> Host Settings -> Advanced Settings -> jQuery Settings:
  2. No check "Use jQuery Debug Version?" option
  3. Check "Use Hosted jQuery Version?" option
  4. Put "http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" in "Hosted jQuery URL:" option
  5. Put "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js" in "Hosted jQuery UI URL:" option
  6. In your custom skin remove the multiple reference to jQuery

That's all, now you enjoy bootstrap with DotNetNuke!!!

@teres66 teres66 closed this as completed May 11, 2012
@JosephAlfonso
Copy link

Hi @teres66, do you mind sharing on how did you install bootstrap 2 on DNN? I'm very new to DNN. Thanks, Joseph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants