• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

DW, Stop rewriting my code! pt 2 (bootstrap)

Community Beginner ,
Feb 27, 2020 Feb 27, 2020

Copy link to clipboard

Copied

I'm not sure how long this has been going on, but today i discovered that when I open a file in DW that I have wrirtten OUTSIDE of DW, it rewrites it. It adds FOUR bootstrap lines to my <head>

 

 

<link rel="stylesheet" type="text/css" href="/bootstrap/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/bootstrap/css/bootstrap-responsive.css" />
<script type="text/javascript" src="/ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="/bootstrap/js/bootstrap.js"></script>

 

 

 

And towards the end of the file, it REMOVES a line: 

 

 

<script src="/assets/jquery/jquery.min.js"></script>

 

 

 

I have the NEVER REWRITE CODE option checked in preferences, and all the neccessary file extensions listed.  Yet it still rewrites my code, and has been for some time, destroying my work.

To the point where I cannot / will not even use DW anymore.  Which is a d@%# shame.

If I say DO NOT REWRITE MY CODE, then

DO. NOT. REWRITE. MY. CODE.  

 

Ideas? Suggestions?

Thanks.

 

ADDENDUM:  also notice related issue where when I open pages that have been created outside of DW for the first time, i get this popup (you have a spelling error too, btw... see attachment), which creates BOOTSTRAP and SCRIPTLIBRARY folders within my local site and proceeds to insert the above lines of code into my file.

Please stop trying to think for me!  I simply want to use DW edit my code. If you wont allow me to do so without rewriting it without my permission, I'll have to reccomend that we stop using DW.

 

[Font size modified by moderator]

 

TOPICS
Bootstrap , Extensions , How to , Product issue

Views

682

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 27, 2020 Feb 27, 2020

DW does not re-write my code.   I'm fairly certain you have a Bootstrap Extension that is causing this.

 

Try Restoring Preferences and/or disable extensions.

https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver.html

 

Votes

Translate

Translate
Community Expert ,
Feb 27, 2020 Feb 27, 2020

Copy link to clipboard

Copied

DW does not re-write my code.   I'm fairly certain you have a Bootstrap Extension that is causing this.

 

Try Restoring Preferences and/or disable extensions.

https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver.html

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2020 Feb 27, 2020

Copy link to clipboard

Copied

See screenshot.  

image.png

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2020 Feb 27, 2020

Copy link to clipboard

Copied

Do you have a DMXZone Bootstrap or similar extension attached to Dreamweaver?

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 28, 2020 Feb 28, 2020

Copy link to clipboard

Copied

LATEST

Nancy/Ben -    Thanks!

I took Nancy's initial suggestion, and restored preferences.  THAT SOLVED THE ISSUE!


That process removes all installed extensions, so as per both of your comments, I certainly could have had a bootstrap extension installed that was causing the issue. Especially since it was pointed out that those folders/files are not from Dreamweaver. 

 

That's my guess at least.  Thank you both for your assistance!

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines