Warning: Undefined array key "p" in /home/clients/119990c2465ec8673b725b4ed2ffc513/sites/informatikboard.ch/includes/vb5/template.php(404) : eval()'d code on line 794 Warning: Undefined array key "p" in /home/clients/119990c2465ec8673b725b4ed2ffc513/sites/informatikboard.ch/includes/vb5/template.php(404) : eval()'d code on line 794 Contao / Typolight 2.11: Newsreader wird 2x angezeigt - iB - InformatikBoard.ch - Benutzer helfen Benutzern

Ankündigung

Einklappen
Keine Ankündigung bisher.

Contao / Typolight 2.11: Newsreader wird 2x angezeigt

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Problem: Contao / Typolight 2.11: Newsreader wird 2x angezeigt

    Ich habe seit geraumer Zeit das Problem, dass ich alle News in der Vollansicht doppelt sehe (Text - Kommentare - Text). Mein Nachrichtenleser schaut so aus:
    Modul Newsreader: Element geschützt, Gruppe ausgewählt.
    Newsreader: Modultyp Nachrichtenleser, Nachrichtenarchive ausgewählt, Nachrichtentemplate news_full Modul geschützt, Gruppe ausgewählt.
    Template:
    Code:
    <div class="layout_full block<?php echo $this->class; ?>">
    
    <h1><?php echo $this->newsHeadline; ?></h1>
    <?php if ($this->hasMetaFields): ?>
    
    <p class="info"><?php echo $this->date; ?> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
    <?php endif; ?>
    <?php if ($this->hasSubHeadline): ?>
    
    <h2><?php echo $this->subHeadline; ?></h2>
    <?php endif; ?>
    
    <div class="ce_text">
    <?php if (!$this->addBefore): ?>
    
    <?php echo $this->text; ?>
    <?php endif; ?>
    <?php if ($this->addImage): ?>
    
    <div class="image_container<?php echo $this->floatClass; ?>"<?php if ($this->margin || $this->float): ?> style="<?php echo trim($this->margin . $this->float); ?>"<?php endif; ?>>
    <?php if ($this->href): ?>
    <a href="<?php echo $this->href; ?>"<?php echo $this->attributes; ?> title="<?php echo $this->alt; ?>">
    <?php endif; ?>
    <img src="<?php echo $this->src; ?>"<?php echo $this->imgSize; ?> alt="<?php echo $this->alt; ?>" />
    <?php if ($this->href): ?>
    </a>
    <?php endif; ?>
    <?php if ($this->caption): ?>
    <div class="caption" style="width:<?php echo $this->arrSize[0]; ?>px"><?php echo $this->caption; ?></div>
    <?php endif; ?>
    </div>
    <?php endif; ?>
    <?php if ($this->addBefore): ?>
    
    <?php echo $this->text; ?>
    <?php endif; ?>
    
    </div>
    <?php if ($this->enclosure): ?>
    
    <div class="enclosure">
    <?php foreach ($this->enclosure as $enclosure): ?>
    <p><img src="<?php echo $enclosure['icon']; ?>" width="18" height="18" alt="<?php echo $enclosure['mime']; ?>" class="mime_icon" /> <a href="<?php echo $enclosure['href']; ?>" title="<?php echo $enclosure['title']; ?>"><?php echo $enclosure['link']; ?> <span class="size">(<?php echo $enclosure['filesize']; ?>)</span></a></p>
    <?php endforeach; ?>
    </div>
    <?php endif; ?>
    
    </div>
    Ich verwende das Template K0006. Hoffentlich habe ich alles aufgelistet was euch hilft. Wenn nicht bitte nachfragen. Wäre wichtig, die Seite soll bald online gehen...

  • #2
    AW: Contao / Typolight 2.11: Newsreader wird 2x angezeigt

    Hast du bei Themes->Seitenlayouts beim entsprechenden Seitenlayout schon überprüft ob evtl. das "Nachrichtenleser"-Modul zwei mal eingebunden ist?

    Kommentar


    • #3
      AW: Contao / Typolight 2.11: Newsreader wird 2x angezeigt

      Danke die! Da war einmal der Leser und einmal das Archiv drinnen Ich hab da mindestens 5x drübergelesen....

      Kommentar

      Lädt...
      X