Nur an einer Stelle kommt leider kein Ergebnis:
Code: Alles auswählen
$id = $result[$i]['id'];
$name = htmlentities($result[$i]['name']);
$count = $result[$i]['count'];
$count1 = $result[$i]['count1'];
$count2 = $result[$i]['count2'];
$count3 = $result[$i]['count3'];
$file = $result[$i]['file'];
$count_gesamt = $count1+$count2+$count3;
$template->assign_block_vars("search_result", array(
'now_id' => $id,
'now_name' => $name,
'now_gesamt' => $count_gesamt,
'now_count' => $count,
'now_count1' => $count1,
'now_count2' => $count2,
'now_count3' => $count3,
'now_file' => $file
));
Was mache ich falsch? Die Variablen sind verfügbar...
Habe ich den Sinn der Templatefunktion an dieser Stelle falsch verstanden?
Bitte um Hilfe.
MfG Christian