Ankündigung

Einklappen
Keine Ankündigung bisher.

Lightbox bei gallery minimiert bilder bzw. 0px ?

Einklappen
Dieses Thema ist geschlossen.
X
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Lightbox bei gallery minimiert bilder bzw. 0px ?

    Hallo,

    ich habe ein komisches Phänomen.. mit C4.9 und Eclipse X mit neuestem Update.

    Wenn ich Bilder in der Lightbox öffnen will, werden diese nicht angezeigt..und in der Konsole bekomme ich nur ein "GET" vom Bild.

    Schalte ich jedoch eine ältere fe_page... funktioniert es.

    Ich weiss nicht wo der Fehler liegt.


    Zuletzt geändert von sfx12; 22.12.2020, 18:21.

  • #2
    Hi,

    wir haben soeben Eclipse X 2.1.1 mit Contao 4.9.10 getestet. In einem Galerie-Element läuft die Lightbox sauber.
    Bitte mal prüfen ob es bei einem Galerie-Element auch zu diesem Problem kommt.
    Bei der Contao Version empfehle ich auf die aktuelle 4.9.10 zu gehen.

    Auch mal schauen ob der Bilderordner in der Dateiverwaltung veröffentlich ist. Müsste er eigentlich, da sonst generell die Bilder nicht angezeigt werden. Aber zur Sicherheit mal testen.

    Ist das Eclipse Update komplett durchgeführt? Also alle Module sowie Dateien?

    Eventuell auch in den Contao Einstellungen > SEO Helfer > Auslieferung von Daten nach Server-Protokoll > http1 und http2 testen.

    Schöne Grüße
    Tom
    *********************
    Neu: Kostenloser Contao Installer 3.0
    *********************
    Contao und Erweiterungen in wenigen Sekunden laden, installieren und updaten - ohne Composer oder Contao Manager.

    Kommentar


    • #3
      Danke für die Infos..

      1. Contao ist auf Version 4.9.10
      2. Ordner sind veröffentlicht
      3. Auf http1 umgestellt

      ..selbe Phänomen, den einzigen Unterschied sehe ich das wenn ich auf ein Bild Klick, das dieses ein http request GET bekommt, als bei ner älteren fe_ Page.

      Lightbox öffnet und skaliert sich auf 0px

      Kommentar


      • #4
        Zitat von sfx12 Beitrag anzeigen
        Danke für die Infos..

        1. Contao ist auf Version 4.9.10
        2. Ordner sind veröffentlicht
        3. Auf http1 umgestellt

        ..selbe Phänomen, den einzigen Unterschied sehe ich das wenn ich auf ein Bild Klick, das dieses ein http request GET bekommt, als bei ner älteren fe_ Page.

        Lightbox öffnet und skaliert sich auf 0px
        Ich würde empfehlen sämtliches lazy loading für Bilder zu deaktivieren, wenn diese in einer Lightbox dargestellt werden sollen.
        http://www.premium-contao-themes.com

        Kommentar


        • #5
          Zitat von Tim Beitrag anzeigen

          Ich würde empfehlen sämtliches lazy loading für Bilder zu deaktivieren, wenn diese in einer Lightbox dargestellt werden sollen.
          Danke, das nutze ich jedoch überhaupt nicht! Ich hab im Seitenlayout komplett alles ausgeschalten, bis auf Artikel Hauptspalte und j_colorbox...

          PS: das mit dem GET Request kann es nicht sein, ich hatte bei einem Template Lightbox-Größe drin, wo er das generierte Bild geladen hat, also in der alten fe_page dann auch aktiviert... bekommt auch ein GET request, lädt das Bild trotzdem korrekt!

          Mit folgendem Template geht es nicht:

          Code:
          <!DOCTYPE html>
          <html lang="<?php echo $this->language; ?>"<?php if ($this->isRTL): ?> dir="rtl"<?php endif; ?>>
          <head>
          <?php $this->block('head'); ?>
          <?php $this->block('meta'); ?>
          <meta charset="<?php echo $this->charset; ?>">
          <meta name="robots" content="<?php echo $this->robots; ?>">
          <meta name="description" content="<?php echo $this->description; ?>">
          <meta name="keywords" content="<?php echo $this->keywords; ?>">
          <meta name="generator" content="Contao Open Source CMS">
          <meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0, target-densitydpi=device-dpi">
          <?php $this->endblock(); ?>
          <title><?php echo $this->title; ?></title>
          <base href="<?php echo $this->base; ?>">
          <link rel="shortcut icon" href="files/cto_layout/img/favicon.ico" type="image/x-icon">
          <link rel="apple-touch-icon" href="files/cto_layout/img/apple-touch-icon.png">
          <?php echo $this->framework; ?>
          <?php echo $this->mooScripts; ?>
          <?php echo $this->stylesheets; ?>
          <?php if( $this->seo_protocol == 'http2' ): ?>
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/scripts/swiper/swiper.min.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/animate.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/scripts/jquery.mb.YTPlayer/css/YTPlayer.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/scripts/isotope/isotope_styles.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/font-awesome.min.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/tinymce.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/framework.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/customelements.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/customcatalog.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/styles.css">
          <?php else: ?>
          <link rel="stylesheet" type="text/css" media="screen" href="<?php
              $objCombiner = new \Contao\Combiner();
              $objCombiner->add('files/cto_layout/scripts/swiper/swiper.min.css');
              $objCombiner->add('files/cto_layout/css/animate.css');
              $objCombiner->add('files/cto_layout/scripts/jquery.mb.YTPlayer/css/YTPlayer.css');
              $objCombiner->add('files/cto_layout/scripts/isotope/isotope_styles.css');
              $objCombiner->add('files/cto_layout/css/font-awesome.min.css');
              $objCombiner->add('files/cto_layout/css/tinymce.css');
              $objCombiner->add('files/cto_layout/css/framework.css');
              $objCombiner->add('files/cto_layout/css/customelements.css');
              $objCombiner->add('files/cto_layout/css/customcatalog.css');
              $objCombiner->add('files/cto_layout/css/styles.css');
              $strFile = $objCombiner->getCombinedFile();
              if( empty($GLOBALS['TL_DEBUG']) )
              {
                  $objFile = new \Contao\File( $strFile.'.minified.css' );
                  if( $objFile->exists() === false && class_exists('\MatthiasMullie\Minify\CSS') )
                  {
                      $objMinify = new \MatthiasMullie\Minify\CSS();
                      $objMinify->add( \file_get_contents(TL_ROOT.'/'.$strFile) );    
                      $objFile->write( $objMinify->minify() );
                      $objFile->renameTo( $strFile.'.minified.css' );
                      $objFile->close();
                      $strFile .= '.minified.css';
                  }
                  else
                  {
                      $strFile .= '.minified.css';
                  }
              }
              echo $strFile; ?>">
          <?php endif; ?>
          <?php if($this->pct_layout_css): ?>
          <link id="layout_css" rel="stylesheet" title="layout_css" type="text/css" href="<?php echo $this->pct_layout_css; ?>">
          <?php endif; ?>
          <?php if(filesize(TL_ROOT.'/files/cto_layout/css/customize.css') > 0): ?><link rel="stylesheet" type="text/css" href="files/cto_layout/css/customize.css"><?php endif; ?>
          <link rel="stylesheet" type="text/css" media="print" href="files/cto_layout/css/print.css">
          <?= $this->pct_structured_data; ?>
          <?php echo $this->head; ?>
          <script>jQuery.noConflict();</script>
          <?php $this->endblock(); ?>
          </head>
          <body class="{{ua::class}}<?php if ($this->class) echo ' ' . trim(preg_replace('/fa(?:-[-\w]+|\b)/','', $this->class)); ?>"<?php if ($this->onload): ?> onload="<?php echo $this->onload; ?>"<?php endif; ?> itemscope itemtype="http://schema.org/WebPage">
          <?php if (!empty($this->sections['body_top'])): ?><div class="body_top"><?php echo $this->sections['body_top']; ?></div><?php endif; ?>
          <div>
          <?php $this->block('body'); ?>
              <div id="contentwrapper">
                  <div id="fix-wrapper">
                  <div id="top-wrapper">
                      <?php if (!empty($this->sections['top_section'])): ?>
                          <?php $this->block('top_section'); ?>
                              <div id="top">
                                  <div class="inside">
                                      <?php echo $this->sections['top_section']; ?>
                                      <hr class="clear">
                                  </div>
                                  <div class="offcanvas-trigger"><span class="line1"></span><span class="line2"></span></div>
                              </div>
                          <?php $this->endblock(); ?>
                      <?php endif; ?>
                      <?php $this->block('header'); ?>
                          <?php if ($this->header): ?>
                              <header id="header" class="header original" itemscope itemtype="http://schema.org/WPHeader">
                                  <div class="inside">
                                      <?php echo $this->header; ?>
                                  <div class="clear"></div>
                                  </div>
                              </header>
                              <div class="clear"></div>
                          <?php endif; ?>
                      <?php $this->endblock(); ?>
                  </div>
                  </div>
                  <?php $this->block('slider'); ?>
                      <div id="slider"<?php if(empty(trim( $this->sections['slider']))): ?> class="empty"<?php endif; ?>>
                          <?php if(!empty(trim( $this->sections['slider']))): ?>
                          <div class="inside">
                              <?php echo trim( $this->sections['slider'] ); ?>
                          </div>
                          <?php endif; ?>
                      </div>
                  <?php $this->endblock(); ?>
                  <?php if (!empty($this->sections['breadcrumb'])): ?>
                      <?php $this->block('breadcrumb'); ?>
                          <div id="breadcrumb"><?php echo $this->sections['breadcrumb']; ?></div>
                      <?php $this->endblock(); ?>
                  <?php endif; ?>
                  <?php $this->block('container'); ?>
                      <div id="wrapper">
                          <div id="container">
                              <?php $this->block('main'); ?>
                                  <section id="main" itemscope itemtype="http://schema.org/WebPageElement" itemprop="mainContentOfPage">
                                      <div class="inside">
                                          <?php echo $this->main; ?>
                                      </div>
                                  </section>
                              <?php $this->endblock(); ?>
                              <?php $this->block('left'); ?>
                                  <?php if ($this->left): ?>
                                      <aside id="left">
                                          <div class="inside">
                                              <?php echo $this->left; ?>
                                          </div>
                                      </aside>
                                  <?php endif; ?>
                              <?php $this->endblock(); ?>
                              <?php $this->block('right'); ?>
                                  <?php if ($this->right): ?>
                                      <aside id="right">
                                          <div class="inside">
                                              <?php echo $this->right; ?>
                                          </div>
                                      </aside>
                                  <?php endif; ?>
                              <?php $this->endblock(); ?>
                          </div>
                      </div>
                  <?php $this->endblock(); ?>
                  <?php $this->block('footer'); ?>
                      <?php if ($this->footer): ?>
                          <footer id="footer" itemscope itemtype="http://schema.org/WPFooter">
                              <div class="inside">
                                  <?php echo $this->footer; ?>
                                  <a href="{{env::request}}#contentwrapper" class="totop"></a>
                              </div>
                          </footer>
                      <?php endif; ?>
                  <?php $this->endblock(); ?>
                  <?php if (!empty($this->sections['bottom'])): ?>
                      <?php $this->block('bottom'); ?>
                          <div id="bottom">
                              <div class="inside">
                                  <?php echo $this->sections['bottom']; ?>
                              </div>
                          </div>
                      <?php $this->endblock(); ?>
                  <?php endif; ?>
              </div>
          </div>
          <div class="body_bottom"><?php echo $this->sections['body_bottom']; ?></div>
          <?php if ($this->header): ?>
          <div id="stickyheader" class="stickyheader Fixed">
              <div class="header cloned">
                  <div class="inside">
                      <?php echo $this->header; ?>
                      <div class="clear"></div>
                  </div>
              </div>
          </div>
          <?php endif; ?>
          <?php if (!empty($this->sections['body'])): ?><?php echo $this->sections['body']; ?><?php endif; ?>
          <?php if( !empty($this->sections['mmenu_top']) || !empty($this->sections['mmenu_middle']) || !empty($this->sections['mmenu_bottom']) || !empty($GLOBALS['ONEPAGE_NAVI']) ): ?>
          <div id="mmenu">
          <div class="scrollable">
          <div class="inside">
          <div id="mmenu_top" class="block"><?php echo $this->sections['mmenu_top']; ?></div>
          <div id="mmenu_middle" class="block"><?php echo $this->sections['mmenu_middle']; ?><?php if($GLOBALS['ONEPAGE_NAVI']): ?>{{insert_module::<?= $GLOBALS['ONEPAGE_NAVI']; ?>}}<?php endif; ?>
          </div>
          </div>
          <div id="mmenu_bottom" class="block"><?php echo $this->sections['mmenu_bottom']; ?></div>
          </div>
          </div>
          <div class="mmenu_overlay"></div>
          <?php endif; ?>
          
          <script>jQuery.noConflict();</script>
          <?php echo $this->mootools; ?>
          <?php if( $this->seo_protocol == 'http2' ): ?>
              <script src="files/cto_layout/scripts/waypoints/waypoints.min.js"></script>
              <script src="files/cto_layout/scripts/jquery.mb.YTPlayer/inc/jquery.mb.YTPlayer.js"></script>
              <script src="files/cto_layout/scripts/typed/js/typed.js"></script>
              <script src="files/cto_layout/scripts/countup/countUp.min.js"></script>
              <script src="files/cto_layout/scripts/parallax/jquery.stellar.min.js"></script>
              <script src="files/cto_layout/scripts/doubletaptogo/doubletaptogo.js"></script>
              <script src="files/cto_layout/scripts/easypiecharts/easypiechart.min.js"></script>
              <script src="files/cto_layout/scripts/swiper/swiper.jquery.min.js"></script>
              <script src="files/cto_layout/scripts/scripts.js"></script>
          <?php else: ?>
          <script defer src="<?php
              $objCombiner = new \Contao\Combiner();
              $objCombiner->add('files/cto_layout/scripts/waypoints/waypoints.min.js');
              $objCombiner->add('files/cto_layout/scripts/jquery.mb.YTPlayer/inc/jquery.mb.YTPlayer.js');
              $objCombiner->add('files/cto_layout/scripts/typed/js/typed.js');
              $objCombiner->add('files/cto_layout/scripts/countup/countUp.min.js');
              $objCombiner->add('files/cto_layout/scripts/parallax/jquery.stellar.min.js');
              $objCombiner->add('files/cto_layout/scripts/doubletaptogo/doubletaptogo.js');
              $objCombiner->add('files/cto_layout/scripts/easypiecharts/easypiechart.min.js');
              $objCombiner->add('files/cto_layout/scripts/swiper/swiper.jquery.min.js');
              $objCombiner->add('files/cto_layout/scripts/scripts.js');
              $strFile = $objCombiner->getCombinedFile();
              $objFile = new \Contao\File( $strFile.'.minified.js' );
              if( empty($GLOBALS['TL_DEBUG']) )
              {
                  if( $objFile->exists() === false && class_exists('\MatthiasMullie\Minify\JS') )
                  {
                      $objMinify = new \MatthiasMullie\Minify\JS();
                      $objMinify->add( \file_get_contents(TL_ROOT.'/'.$strFile) );    
                      $objFile->write( $objMinify->minify() );
                      $objFile->renameTo( $strFile.'.minified.js' );
                      $objFile->close();
                      $strFile .= '.minified.js';
                  }
                  else
                  {
                      $strFile .= '.minified.js';
                  }
              }
              echo $strFile; ?>"></script>
          <?php endif; ?>
          <?php if(filesize(TL_ROOT.'/files/cto_layout/scripts/customize.js') > 0): ?><script src="files/cto_layout/scripts/customize.js"></script><?php endif; ?>
          <?php $this->endblock(); ?>
          <div id="viewport-pixel"></div>
          </body>
          </html>
          ....................

          Mit diesem geht es:

          Code:
          <!DOCTYPE html>
          <html lang="<?php echo $this->language; ?>"<?php if ($this->isRTL): ?> dir="rtl"<?php endif; ?>>
          <head>
          <?php $this->block('head'); ?>
          <?php $this->block('meta'); ?>
          <meta charset="<?php echo $this->charset; ?>">
          <meta name="robots" content="<?php echo $this->robots; ?>">
          <meta name="description" content="<?php echo $this->description; ?>">
          <meta name="keywords" content="<?php echo $this->keywords; ?>">
          <meta name="generator" content="Contao Open Source CMS">
          <meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi">
          <?php $this->endblock(); ?>
          <title><?php echo $this->title; ?></title>
          <base href="<?php echo $this->base; ?>">
          <link rel="shortcut icon" href="files/cto_layout/img/favicon.ico" type="image/x-icon">
          <link rel="apple-touch-icon" href="files/cto_layout/img/apple-touch-icon.png">
          <?php echo $this->framework; ?>
          <?php echo $this->mooScripts; ?>
          <?php echo $this->stylesheets; ?>
          <?php if( $this->seo_protocol == 'http2' ): ?>
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/scripts/swiper/swiper.min.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/scripts/mmenu/mmenu.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/animate.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/scripts/jquery.mb.YTPlayer/css/YTPlayer.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/scripts/isotope/isotope_styles.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/font-awesome.min.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/framework.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/customelements.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/customcatalog.css">
          <link rel="stylesheet" type="text/css" media="screen" href="files/cto_layout/css/styles.css">
          <?php else: ?>
          <link rel="stylesheet" type="text/css" media="screen" href="<?php
              $objCombiner = new \Contao\Combiner();
              $objCombiner->add('files/cto_layout/scripts/swiper/swiper.min.css');
              $objCombiner->add('files/cto_layout/scripts/mmenu/mmenu.css');
              $objCombiner->add('files/cto_layout/css/animate.css');
              $objCombiner->add('files/cto_layout/scripts/jquery.mb.YTPlayer/css/YTPlayer.css');
              $objCombiner->add('files/cto_layout/scripts/isotope/isotope_styles.css');
              $objCombiner->add('files/cto_layout/css/font-awesome.min.css');
              $objCombiner->add('files/cto_layout/css/framework.css');
              $objCombiner->add('files/cto_layout/css/customelements.css');
              $objCombiner->add('files/cto_layout/css/customcatalog.css');
              $objCombiner->add('files/cto_layout/css/styles.css');
              echo $objCombiner->getCombinedFile();?>">
          <?php endif; ?>
          <?php if($this->pct_layout_css): ?>
          <link id="layout_css" rel="stylesheet" title="layout_css" type="text/css" href="<?php echo $this->pct_layout_css; ?>">
          <?php endif; ?>
          <?php if(filesize(TL_ROOT.'/files/cto_layout/css/customize2.css') > 0): ?><link rel="stylesheet" type="text/css" href="files/cto_layout/css/customize2.css"><?php endif; ?>
          <?= $this->pct_structured_data; ?>
          <?php echo $this->head; ?>
          <script>jQuery.noConflict();</script>
          <?php $this->endblock(); ?>
          <!-- custom scripts -->
          <script src="files/cto_layout/matchHeight/jquery.matchHeight.js" type="text/javascript"></script>
          <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
          <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.min.js"></script>
          <?php if(filesize(TL_ROOT.'/files/cto_layout/scripts/customize.js') > 0): ?><script src="files/cto_layout/scripts/customize.js"></script><?php endif; ?>
          </head>
          
          <div id="page">
          <body class="{{ua::class}}<?php if ($this->class) echo ' ' . trim(preg_replace('/fa(?:-[-\w]+|\b)/','', $this->class)); ?>"<?php if ($this->onload): ?> onload="<?php echo $this->onload; ?>"<?php endif; ?> itemscope itemtype="http://schema.org/WebPage">
              
          <?php if (!empty($this->sections['body_top'])): ?><div class="body_top"><?php echo $this->sections['body_top']; ?></div><?php endif; ?>
          <div>
          <?php $this->block('body'); ?>
              <div id="contentwrapper">
                  <div id="fix-wrapper">
                      <header class="cd-auto-hide-header">
                  <div id="top-wrapper">
                      <?php if (!empty($this->sections['top_section'])): ?>
                          <?php $this->block('top_section'); ?>
                              <div id="top">
                                  <div class="inside">
                                      <?php echo $this->sections['top_section']; ?>
                                      <hr class="clear">
                                  </div>
                                  <div class="offcanvas-trigger"><span class="line1"></span><span class="line2"></span></div>
                              </div>
                          <?php $this->endblock(); ?>
                      <?php endif; ?>
                      <?php $this->block('header'); ?>
                          <?php if ($this->header): ?>
                              <header id="header" class="header original" itemscope itemtype="http://schema.org/WPHeader">
                                  <div class="inside">
                                      <?php echo $this->header; ?>
                                  <div class="clear"></div>
                                  </div>
                              </header>
                              <div class="clear"></div>
                          <?php endif; ?>
                      <?php $this->endblock(); ?>
                      </header>
                  </div>
                  </div>
                  <?php $this->block('slider'); ?>
                      <div id="slider"<?php if(empty(trim( $this->sections['slider']))): ?> class="empty"<?php endif; ?>>
                          <?php if(!empty(trim( $this->sections['slider']))): ?>
                          <div class="inside">
                              <?php echo trim( $this->sections['slider'] ); ?>
                          </div>
                          <?php endif; ?>
                      </div>
                  <?php $this->endblock(); ?>
                  <?php if (!empty($this->sections['breadcrumb'])): ?>
                      <?php $this->block('breadcrumb'); ?>
                          <div id="breadcrumb"><?php echo $this->sections['breadcrumb']; ?></div>
                      <?php $this->endblock(); ?>
                  <?php endif; ?>
                  <?php $this->block('container'); ?>
                      <div id="wrapper">
                          <div id="container">
                              <?php $this->block('main'); ?>
                                  <section id="main" itemscope itemtype="http://schema.org/WebPageElement" itemprop="mainContentOfPage">
                                      <div class="inside hyphenate">
                                          <?php echo $this->main; ?>
                                      </div>
                                  </section>
                              <?php $this->endblock(); ?>
                              <?php $this->block('left'); ?>
                                  <?php if ($this->left): ?>
                                      <aside id="left">
                                          <div class="inside">
                                              <?php echo $this->left; ?>
                                          </div>
                                      </aside>
                                  <?php endif; ?>
                              <?php $this->endblock(); ?>
                              <?php $this->block('right'); ?>
                                  <?php if ($this->right): ?>
                                      <aside id="right">
                                          <div class="inside">
                                              <?php echo $this->right; ?>
                                          </div>
                                      </aside>
                                  <?php endif; ?>
                              <?php $this->endblock(); ?>
                          </div>
                      </div>
                  <?php $this->endblock(); ?>
                  <?php $this->block('footer'); ?>
                      <?php if ($this->footer): ?>
                          <footer id="footer" itemscope itemtype="http://schema.org/WPFooter">
                              <div class="inside">
                                  <?php echo $this->footer; ?>
                                  <a href="{{env::request}}#contentwrapper" class="totop"></a>
                              </div>
                          </footer>
                      <?php endif; ?>
                  <?php $this->endblock(); ?>
                  <?php if (!empty($this->sections['bottom'])): ?>
                      <?php $this->block('bottom'); ?>
                          <div id="bottom">
                              <div class="inside">
                                  <?php echo $this->sections['bottom']; ?>
                              </div>
                          </div>
                      <?php $this->endblock(); ?>
                  <?php endif; ?>
              </div>
          </div>
          <div class="body_bottom"><?php echo $this->sections['body_bottom']; ?></div>
          <?php if ($this->header): ?>
          <div id="stickyheader" class="stickyheader Fixed">
              <div class="header cloned">
                  <div class="inside">
                      <?php echo $this->header; ?>
                      <div class="clear"></div>
                  </div>
              </div>
          </div>
          <?php endif; ?>
          <?php if (!empty($this->sections['body'])): ?><?php echo $this->sections['body']; ?><?php endif; ?>
          <?php if( !empty($this->sections['mmenu_top']) || !empty($this->sections['mmenu_middle']) || !empty($this->sections['mmenu_bottom']) || !empty($GLOBALS['ONEPAGE_NAVI']) ): ?>
          <div id="mmenu">
          <div class="scrollable">
          <div class="inside">
          <div id="mmenu_top" class="block"><?php echo $this->sections['mmenu_top']; ?></div>
          <div id="mmenu_middle" class="block"><?php echo $this->sections['mmenu_middle']; ?><?php if($GLOBALS['ONEPAGE_NAVI']): ?>{{insert_module::<?= $GLOBALS['ONEPAGE_NAVI']; ?>}}<?php endif; ?>
          </div>
          </div>
          <div id="mmenu_bottom" class="block"><?php echo $this->sections['mmenu_bottom']; ?></div>
          </div>
          </div>
          <div class="mmenu_overlay"></div>
          <?php endif; ?>
          
          
          
          <script>jQuery.noConflict();</script>
          <?php echo $this->mootools; ?>
          <?php if( $this->seo_protocol == 'http2' ): ?>
              <script src="files/cto_layout/scripts/mmenu/mmenu.js"></script>
              <script src="files/cto_layout/scripts/waypoints/waypoints.min.js"></script>
              <script src="files/cto_layout/scripts/jquery.mb.YTPlayer/inc/jquery.mb.YTPlayer.js"></script>
              <script src="files/cto_layout/scripts/typed/js/typed.js"></script>
              <script src="files/cto_layout/scripts/countup/countUp.min.js"></script>
              <script src="files/cto_layout/scripts/parallax/jquery.stellar.min.js"></script>
              <script src="files/cto_layout/scripts/doubletaptogo/doubletaptogo.js"></script>
              <script src="files/cto_layout/scripts/easypiecharts/easypiechart.min.js"></script>
              <script src="files/cto_layout/scripts/cookie/jquery.cookie.js"></script>
              <script src="files/cto_layout/scripts/swiper/swiper.jquery.min.js"></script>
              <script src="files/cto_layout/scripts/scripts.js"></script>
          <?php else: ?>
          <script src="<?php
              $objCombiner = new \Contao\Combiner();
              $objCombiner->add('files/cto_layout/scripts/mmenu/mmenu.js');
              $objCombiner->add('files/cto_layout/scripts/waypoints/waypoints.min.js');
              $objCombiner->add('files/cto_layout/scripts/jquery.mb.YTPlayer/inc/jquery.mb.YTPlayer.js');
              $objCombiner->add('files/cto_layout/scripts/typed/js/typed.js');
              $objCombiner->add('files/cto_layout/scripts/countup/countUp.min.js');
              $objCombiner->add('files/cto_layout/scripts/parallax/jquery.stellar.min.js');
              $objCombiner->add('files/cto_layout/scripts/doubletaptogo/doubletaptogo.js');
              $objCombiner->add('files/cto_layout/scripts/easypiecharts/easypiechart.min.js');
              $objCombiner->add('files/cto_layout/scripts/cookie/jquery.cookie.js');
              $objCombiner->add('files/cto_layout/scripts/swiper/swiper.jquery.min.js');
              $objCombiner->add('files/cto_layout/scripts/scripts.js');
              echo $objCombiner->getCombinedFile();?>"></script>
          <?php endif; ?>
          
          <?php $this->endblock(); ?>
          
          
          
          <script>
          
          
          jQuery(document).ready(function($) {
              $.noConflict();
          
          //jQuery(window).on('load',function($){
           
              jQuery(".homeboxes, .social_feed_element .inner, .homeboxes .ce_bgimage-image").matchHeight({
              byRow: true,
              property: 'height',
              target: null,
              remove: false
          });
          
          
          });
          
          
          </script>
          
          <div id="viewport-pixel"></div>
          <!--End Div Page preload-->
          </div>
          
          
          
          <script src="files/cto_layout/Hyphenator/Hyphenator.js" type="text/javascript"></script>
                  <script type="text/javascript">
                      Hyphenator.config({
                          displaytogglebox : false,
                          minwordlength : 6,
                          donthyphenateclassname : 'ce_list, no-hyphenate'
                      });
                      Hyphenator.run();
                  </script>
          </body>
          </html>
          Zuletzt geändert von sfx12; 23.12.2020, 09:10.

          Kommentar


          • #6
            OMG - RÜCKRUF !!!!!!!


            Ich hatte in der customize.js eine Anweisung drin für ein ajaxformular (da hat der ein cbox element nicht richtig in der Lightbox sonst anzeigen können)

            BIG SORRY - THREAD BITTE CLOSED - DANKE FÜR EURE ZEIT!

            Kommentar


            • #7
              Das 2. Template ist massiv geändert -es werden diverse externe Scripte zusätzlich eingebunden, weitere Bereiche im html platziert usw. usw.
              Diese manuellen Änderungen können wir selbstverständlich nicht berücksichtigen.

              Ausgehend vom Theme-Standard ist beim 2. Template die zusätzliche Script-Minimierung noch nicht enthalten.
              ---
              Da wir hier anscheinend von einer Seite ausgehen, die ohnehin diverse individuelle Scripte fährt, würde ich einfach das 2. Template nutzen. Sonst fehlen die externen Scripte ggf. noch.
              http://www.premium-contao-themes.com

              Kommentar

              Lädt...
              X