moin ...
meinst du evtl. das du die jeweiligen kategorien in der linken navigationsleiste direkt unter dem randomimage als liste anzeigen willst ?
da würde ich dir empfehlen es lieber "händisch" einzutragen ... bzw. einfach eine liste.php mit den direktlinks der kategorien...
und diese includierst du dann in jede seite die es anzeigen soll .
oder du machst den mod. den Rembrandt dir vorgeschlagen hat .
also so zb. die liste.php
anpassen musst du nur die rot markierten stellen .
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td class="head1" width="100%" height="20">{lang_categories}</td>
</tr>
<tr>
<td class="row1" width="100%" height="20">
<a style="text-decoration: none" target="_self" href="categories.php?cat_id=1"><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />Kategorie 1</a></td>
</tr>
<tr>
<td class="row2" width="100%" height="20">
<a style="text-decoration: none" target="_self" href="categories.php?cat_id=2"><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />Kategorie 2</a></td>
</tr>
<tr>
<td class="row1" width="100%" height="20">
<a style="text-decoration: none" target="_self" href="categories.php?cat_id=3"><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />Kategorie 3</a></td>
</tr>
<tr>
<td class="row2" width="100%" height="20">
<a style="text-decoration: none" target="_self" href="categories.php?cat_id=4"><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />Kategorie 4</a></td>
</tr>
<tr>
<td class="row1" width="100%" height="20">
<a style="text-decoration: none" target="_self" href="categories.php?cat_id=5"><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />Kategorie 5</a></td>
</tr>
<tr>
<td class="row2" width="100%" height="20">
<a style="text-decoration: none" target="_self" href="categories.php?cat_id=6"><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />Kategorie 6</a></td>
</tr>
<tr>
<td class="row1" width="100%" height="20">
<a style="text-decoration: none" target="_self" href="categories.php?cat_id=7"><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />Kategorie 7</a></td>
</tr>
<tr>
<td class="row2" width="100%" height="20">
<a style="text-decoration: none" target="_self" href="categories.php?cat_id=8"><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />Kategorie 8</a></td>
</tr>
</table>
das speicherst du einfach ab als liste.php
anstatt "Kategorie 1" etc. schreibst du da einfach den namen der kategorie rein ...
bei "categories.php?cat_id=" kommt nur die zahl der jeweiligen kat. hin .
die weite der tabelle musst du sehen ... ich habe da width="150" eingetragen ... ob das so richtig ist muss du sehen .
die
class="row1" -
class="row2" kommen immer abwechselnd wie du siehst ...
behalte es so bei wenn du erweiterst .
dann schaust du zb. in der home.html nach
{endif random_image}dahinter oder darunter trägst du folgendes ein ...
<?php include("list.php"); ?>
das machst du dann in jeder seite wo die kats. angezeigt werden soll .
gruss
"bananaboy"