4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Crazymodder on January 11, 2010, 01:51:11 PM
-
Hallo,
Ich habe diese beiden mods eingebaut:
http://www.4homepages.de/forum/index.php?topic=1847.0
und
xxx: xxx: 4homepages. de/forum/viewtopic. php?t=2218
funktioniert auch alles super. Ich habe nun für die Kategorie ID 3 ein Template erstellt. Einmal categories_3.html und thumbnail_bit_3.html. In meinem Admin Menü habe ich eingestellt das 2 Thumbnails nebeneinander sein sollen eingestellt. Nun würde ich gerne für die Kategorie 3 aber 5 Thumbnails nebeneinander haben wollen.
Weiß jmd. was ich hierfür in der categories.php ändern muss?
-
Hallo alle zusammen,
Ist meine Frage etwas zu umständlich formuliert? Benötigt ihe eventuell eine Beschreibung auf Englisch?
Edit:
Ich habe eine Lösung gefunden:
show_image($image_row);
$thumbnails_neu= get_cat_template($thumb_art, $cat_id);
$thumbnails .= $site_template->parse_template("$thumbnails_neu");
$thumbnails .= "\n</td>\n";
$count++;
if ($thumbnails_neu == "thumbnail_bit_3") {
if ($count == 5) {
$thumbnails .= "</tr>\n";
$count = 0;}
}
elseif ($count == $config['image_cells']) {
$thumbnails .= "</tr>\n";
$count = 0;
}
} // end while