Hallo
ich habe das Gallery Template wie folgt umgebaut:
HTML-Code:
<div id="myCarousel" class="carousel slide hidden-tablet hidden-phone">
<div class="carousel-inner">
<?php
foreach ( $this->body as $class => $row )
foreach ( $row as $col )
if ( $col->addImage )
{
?>
<div class="item active">
<img src="<?= $col->src ?>" alt="<?php echo $col->alt; ?>">
<div class="container">
<div class="carousel-caption">
<h1><?= $col->alt ?></h1>
<p class="lead"><?php echo $col->caption; ?></p>
<a class="btn btn-large btn-danger" href="<?= $col->href ?>"><?= $col->alt ?></a>
</div>
</div>
</div>
<?php endif; ?>
<?php
}
?>
</div>
<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">›</a>
</div>
ich kann leider keinen Fehler finden und wenn ich die Seite aufrufe wo dieses Template Plaziert is bleibt sie weiß
2. Frage:
Wo kann ich in der Gallery Bescheibung und sowas für jedes Bild anlegen? - habe nichts gefunden und Google kommt mir auch nicht helfen
Danke und viele Grüße,
Sebastian
Lesezeichen