Test apidemo09

  • Startseite
  • Blog
  • Wiki
  • Hilfe
  • Über

Ergänzender Inhalt: Inhalt der Seite

Inhalt der Layout-Datei

<!-- apidemo09.html
Quelle:https://datenstrom.se/de/yellow/help/api-for-developers
ein Beispiel-Layout um  die Hauptseiten der Navigation  anzuzeigen -->
<?php $this->yellow->layout("header") ?>
<div class="content">
<div class="main" role="main">
<h1><?php echo $this->yellow->page->getHtml("titleContent") ?></h1>
<?php $pages = $this->yellow->content->top() ?>
<?php $this->yellow->page->setLastModified($pages->getModified()) ?>
<ul>
<?php foreach ($pages as $page): ?>
<li><?php echo $page->getHtml("titleNavigation") ?></li>
<?php endforeach ?>
</ul>
<h2>Ergänzender Inhalt: Inhalt der Seite</h2>
<?php echo $this->yellow->page->getContent() ?>
</div>
</div>
<?php $this->yellow->layout("footer") ?>