bin ganz neu bei Redaxo und habe jetzt lange versucht dieses Template hier so anzupassen, dass der Startlink und der Link der aktuellen Seite nicht mehr angezeigt werden.
Kriege aber immer nur Fehlermeldungen...
Vielleicht kann mir ja jemand helfen?
Danke!
Code: Alles auswählen
<?php
// EXPLODE PATH
$PATH = explode("|",$this->getValue("path").$this->getValue("article_id")."|");
// GET CURRENTS
$path1 = $PATH[1];
$path2 = $PATH[2];
$path3 = $PATH[3];
$cat = OOCategory::getCategoryById($this->getValue(category_id));
$article = $cat->getArticles();
$artSize = sizeof($cat->getArticles());
if ($artSize != "0"){
$navLeftCol .= '<div class="listen"><h6>Artikel</h6>';
$navLeftCol .= '<ul>';
if (is_array($article)) {
foreach ($article as $var) {
$articleId = $var->getId();
$articleName = $var->getName();
if ($var->isOnline(true)){
$navLeftCol .= '<li><a href="'.rex_getUrl($articleId).'">'.$articleName.'</a></li>';
}
}}
$navLeftCol .= '</div></ul>';
}
if ($REX['CUR_CLANG'] == 1) $breadcrumb = 'You are here: <a href="/index.php?clang=1">Startpage</a> '.$sitePath;
else $breadcrumb = 'Sie befinden sich hier: <a href="/index.php">Startseite</a> '.$sitePath;
?>