Skip to main content
Inspiring
May 31, 2017
Question

Bootstrap Komponenten können nicht eingefügt werden

  • May 31, 2017
  • 1 reply
  • 546 views

Hi

schon einmal bin ich mit diesem Problem ins Forum gekommen. Für die damalige Situation habe ich eine Lösung erhalten, aber es scheint, dass mit meinem DW CC2017 etwas nicht stimmt.

Das Problem: Wenn ich eine ganz neue Datei erstelle und wähle, dass Bootstrap eingebunden werden soll, entsteht das folgende Script:

<!DOCTYPE html>

<html lang="en">

  <head>

    <meta charset="utf-8">

  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Untitled Document</title>

    <!-- Bootstrap -->

  <link href="css/bootstrap.css" rel="stylesheet">

  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->

  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->

  <!--[if lt IE 9]>

   <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>

   <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>

  <![endif]-->

  </head>

  <body>

  <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

  <script src="js/jquery-1.11.3.min.js"></script>

  <!-- Include all compiled plugins (below), or include individual files as needed -->

  <script src="js/bootstrap.js"></script>

  </body>

</html>

Es ist also "bootstrap.css" eingebunden worden.

Will ich vom Einfügen-Panel ein Accordion oder Tabs in den body einfügen, erscheint die folgende Meldung :

"Die Komponente ist mit der aktuellen Bootstrap-CSS/JS-Datei (älter als Version 3.0) nicht vollständig kompatibel. Eine neue Bootstrap-CSS/JS-Datei wird erstellt und automatisch mit dem Dokument verknüpft. Möchten Sie fortfahren?"

Klicke ich auf "Ja" werden die Dateien aktualisiert. Das neue Script:

<!DOCTYPE html>

<html lang="en">

  <head>

    <meta charset="utf-8">

  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Untitled Document</title>

    <!-- Bootstrap -->

  <!-- <link href="css/bootstrap.css" rel="stylesheet"> -->

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

  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->

  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->

  <!--[if lt IE 9]>

   <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>

   <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>

  <![endif]-->

  </head>

  <body>

  <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

  <script src="js/jquery-1.11.3.min.js"></script>

  <!-- Include all compiled plugins (below), or include individual files as needed -->

  <!-- <script src="js/bootstrap.js"></script> -->

  <script src="js/bootstrap-3.3.7.js"></script>

</body>

</html>

Nach wie vor ist es aber nicht möglich, irgend eine Bootstrap-Komponente (auch Navigation, Jumbotron, nicht einmal einen Container) einzufügen.

Es erscheint in jedem Fall die oben kursiv dargestellte Meldung, doch wird keine Komponente eingefügt.

Ich habe kontrolliert, ob ein Update fehlt, aber das scheint nicht der Fall zu sein.

Die Sache ist rätselhaft - danke für die Auflösung

MS

    This topic has been closed for replies.

    1 reply

    BenPleysier
    Community Expert
    Community Expert
    June 1, 2017
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    Inspiring
    June 2, 2017

    Hi Ben

    Kleine Ursache - grosse Wirkung!

    Sie haben mir sehr geholfen mit dem Hinweis auf die bereits geführte Diskussion.

    Tausend Dank