Eigenen Bereich fullwidht trotz Sidebar left
Hallo,
würde gerne oberhalb des Footer einen zusätzlichen Bereich, der über die gesamte Breite, geht einbauen. In der fe_page habe ich folgende eingetragen:
<?php $this->block('teaser'); ?>
<?php if ($this->teaser): ?>
<footer id="teaser">
<div class="inside">
<?php echo $this->teaser; ?>
<a href="body" class="totop"></a>
</div>
</teaser>
<?php endif; ?>
<?php $this->endblock(); ?>
Ich kann im Artikel unter "Anzeigen in" den Layoutbereich: Teaser auswählen, jedoch wird nichts angezeigt.
Bin jetzt nicht ganz so fit in Contao und könnte Hilfe gebrauchen.
Vielen Dank im voraus.
VG Charlie
Liste der Anhänge anzeigen (Anzahl: 1)
Hallo Samuell,
vielen Dank für deine Hilfe. Wenn ich nur einen Layoutbereich im Seitenlayout anlege, passiert nichts.
Was die "Custom section" bedeutet - weiß ich leider nicht.
Im Seitenlayout habe ich bei "Eingebundene Module" das Modul: Artikel in der Spalte: teaser angelegt.
Hier der Bereich aus der fe_page.
<div id="contentwrapper">
<div id="fix-wrapper">
<div id="top-wrapper">
<?php if (strlen($this->sections['top']) > 0): ?>
<?php $this->block('top'); ?>
<div id="top">
<div class="inside">
<?php echo $this->sections['top']; ?>
<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">
<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">
<div class="inside">
<?php echo $this->sections['slider']; ?>
</div>
</div>
<?php $this->endblock(); ?>
<?php $this->block('breadcrumb'); ?>
<?php echo $this->sections['breadcrumb']; ?>
<?php $this->endblock(); ?>
<?php $this->block('container'); ?>
<div id="wrapper">
<div id="container">
<?php $this->block('main'); ?>
<section id="main">
<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('teaser'); ?>
<?php if ($this->teaser): ?>
<footer id="teaser">
<div class="inside">
<?php echo $this->teaser; ?>
<a href="body" class="totop"></a>
</div>
</teaser>
<?php endif; ?>
<?php $this->endblock(); ?>
<?php $this->block('footer'); ?>
<?php if ($this->footer): ?>
<footer id="footer">
<div class="inside">
<?php echo $this->footer; ?>
<a href="body" class="totop"></a>
</div>
</footer>
<?php endif; ?>
<?php $this->endblock(); ?>
<?php if (strlen($this->sections['bottom']) > 0): ?>
<?php $this->block('bottom'); ?>
<div id="bottom">
<div class="inside">
<?php echo $this->sections['bottom']; ?>
</div>
</div>
<?php $this->endblock(); ?>
<?php endif; ?>
</div>
</div>
Liste der Anhänge anzeigen (Anzahl: 1)
Hallo Samuell,
funzt leider so nicht. Habe dir mal einen Screenshot angefügt wie meine Einstellungen im Seitenlayout sind. Das Problem wird sein, dass ich eine linke Navigation habe und unterhalb wieder die ganze Seitenbreite benötige. Zumindest wird der Artikel nicht angezeigt.
VG Charlie