Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Uncheck "Serve Bootstrap" checkbox not working
Last Post 09/06/2017 1:16 AM by Tim. 2 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Tim
New Member
New Member
Posts:8


--
08/23/2017 11:39 PM
As per subject.

DNN 9.1.1 & DMX 6.2.3

Note that on half of our websites, we serve the Bootstrap CSS file, but not the Bootstrap JS file, so if the checkbox is ticked, the CSS file will be served twice, but the JS file will be served once and if the checkbox is unticked, bootstrap will be served once (good), but if DMX needs the bootstrap JS will not be served at all (that's if DMX actually needs bootstrap JS?).

Thanks
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
08/29/2017 9:23 AM
Hi,

You'll need to adjust the skin to include the JS as well. DMX considers Bootstrap to be both css and js. It has a switch to allow it to stop serving BS but this will do both.

Peter
Tim
New Member
New Member
Posts:8


--
09/06/2017 1:16 AM
Hi Peter,
Thanks for your reply,
I am using the DMX What's New Addon and that ignores the Bootstrap JS "Serve Bootstrap" checkbox setting on the main module. I now have duplicate Bootstrap JS files as I am now including Bootstrap JS in my skin as per your instructions in your previous reply.
Note that I am now using Bootstrap JS for modals within my site now. Modals are displaying, then hiding automatically because of the repetition of the two JS files now on the site: https://stackoverflow.com/questions/13648979/bootstrap-modal-immediately-disappearing#answer-13670437
You are not authorized to post a reply.