DMXzone Bootstrap Support Product Page


Option to disable auto insertion of stylesheet and scripts

Shared 14 Jun 2013 15:22:21
like this idea
14 Jun 2013 15:22:21 Daniel Smith posted:
Is there a way to turn off the auto insertion of the bootstrap css, jquery, and bootstrap scripts? If I want to use less, I have no way to stop the auto insertion of pre-compiled stylesheets. If I have no use for jquery or bootstrap scripts, I have to edit the file outside of dreamweaver, since any time I save the file they are re-inserted.

It would be nice to have a option to disable the auto insertion so I don't end up with multiple references to the same stylesheets and scripts.


Replied 18 Jun 2013 01:47:08
18 Jun 2013 01:47:08 Daniel Smith replied:
more auto inject woes when editing Wordpress templates. I don't need the stylesheets and script added to the template files. All that will be enqueued from the functions file. I have no way to stop it.

I like the ease of inserting containers and rows, but it's over compensating for the header of my files.
Replied 18 Jun 2013 08:38:38
18 Jun 2013 08:38:38 Teodor Kuduschiev replied:

This is how the extension is supposed to work, it always checks if the bootstrap css files are included:

<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css" />  
    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-responsive.css" />  

Of course after the extension adds them you can include your custom css file, for example:

<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css" />  
    <link rel="stylesheet" type="text/css" href="css/style.css">  
    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-responsive.css" />  

Also - we do not support Wordpress/Wordpress Templates.
Replied 18 Jun 2013 12:37:15
18 Jun 2013 12:37:15 Daniel Smith replied:
But every time I use the add a new container it is injecting the css and javascript references in the header again. (eg insert a container, replace css and javascript with custom ones, and insert another container. The injected css and javascript is back)

I also have a project where I do use bootstrap css from the location that is inserted from the addon, and I remove the javascript includes (not needed). When I hit save the scripts are added back in everytime (possible bug?). This means I have to edit the file outside of dreamweaver to remove them.

An option to disable the auto inserts, or have a manual add css/js files option in the insert box would be nice for users that are editing files that could be included from another file (Wordpress, php includes, ajax remote file includes) where the css and script don't need to be included in the specific file because they are already in the main file.
Replied 21 Jun 2013 11:04:01
21 Jun 2013 11:04:01 Willi Schneider replied:
To add to Daniel's post, it's very annoying, when working with DW-templates, as that javascript and css references are always inserted back into the file and have to be manually removed outside of DW.
In combination with any of DMXzone's jquery-extensions, there's another problem, since the bootstrap jquery.js is conflicting with the one that comes with DMX extensions.
Replied 10 Jul 2013 15:18:17
10 Jul 2013 15:18:17 Teodor Kuduschiev replied:
In the newly released DMXzone Bootstrap 1.1.0 you can choose how to include your bootstrap files - normal, minified or even through CDN. You can also disable auto file update and browse to your own bootstrap css.
Replied 26 Jan 2024 11:36:59
26 Jan 2024 11:36:59 Crest pak replied:
Looking to transport your vehicle hassle-free? Look no further than A-1 Auto Transport. With our top-notch services, we make auto transport a breeze. Whether you're moving across the country or overseas, we ensure the safe and timely delivery of your vehicle. Our experienced team and state-of-the-art equipment guarantee a smooth and stress-free transport process. With over 2 million delivered services and thousands of satisfied customers, we are the trusted choice for all your auto shipping needs. Experience peace of mind knowing your vehicle is in good hands with A-1 Auto Transport. Please here to Contact us today to get started on your hassle-free auto transport journey.

Reply to this topic