
Zitat von
Indigo66
Vielleicht gibt es ein Override. Zu finden im html-Verzeichnis Deines Templates.
scheint das hier die 2 Spalten generiert werden. Sicher bin ich mir aber nicht.
Bin kein Coder.
PHP-Code:
// init vars
$count = min($this->params->get('num_intro_articles', 4), ($this->total - $i));
$rows = ceil($count / $this->params->get('num_columns', 2));
$columns = array();
// create intro columns
for ($j = 0; $j < $count; $j++, $i++) {
if ($this->params->get('multi_column_order', 1) == 0) {
// order down
$column = intval($j / $rows);
} else {
// order across
$column = $j % $this->params->get('num_columns', 2);
}
if (!isset($columns[$column])) {
$columns[$column] = '';
}
$this->item =& $this->getItem($i, $this->params);
$columns[$column] .= $this->loadTemplate('item');
}
// render intro columns
$count = count($columns);
if ($count) {
if ($count != 1) {
echo '<div class="teaserarticles multicolumns">';
} else {
echo '<div class="teaserarticles">';
}
for ($j = 0; $j < $count; $j++) {
$firstlast = "";
if ($count != 1) {
if ($j == 0) $firstlast = "first";
if ($j == $count - 1) $firstlast = "last";
}
echo '<div class="'.$firstlast.' float-left width'.intval(100 / $count).'">'.$columns[$j].'</div>';
}
echo '</div>';
}
}
?>
Lesezeichen