trillian2002
Aloa, ich hab auf meinem Board die Kategorien geteilt, nun möchte ich über und unter jeder Kategorie ne Grafik haben. Über der Kategorie hab ich das auch geschafft aber wo muss ich das ändern für unter der Kategorie.
Hab mal noch en pic drangehängt:
[IMG]http://img372.imageshack.us/img372/8279/cat5wy.jpg[/IMG]
Hab schon überall versucht, nirgends hat es geklappt.
Wär super wenn mir da jemand helfen könnte
Benedikt
Hi,
wenn du die Kategorien geteilt hast, dann such mal auf der index.tpl:
$boardbit
</table>
[so oder so ähnlich müsste das dort heißen]
Darunter fügst du folgendes ein:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
|
<table cellpadding="0" cellspacing="0" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']};">
<tr>
<td><img src="{$style['imagefolder']}/ab.gif" align="middle" alt="" title="" /></td>
<td style="background-image: url({$style['imagefolder']}/ab.gif); width:100%;"></td>
<td><img src="{$style['imagefolder']}/ab.gif" align="middle" alt="" title="" /></td>
</tr>
</table>
|
|
Dann müsste in der index_catbit ganz oben dies, oder ähnliches stehen:
</table>
<br />
Wenn ja, dann fügst du unter </table> den Code von oben nochmal ein.
und <br /> unter den den Code.
Sollte allerdings etwas anderes dort stehen, dann schreibstes hier
trillian2002
aloa also momentan sieht meine index_catbit oben so aus:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
|
<if($depth == 1)>
<then>
</table><br /><img src="{$style['imagefolder']}/obenlinks.gif" width="150" height="12" /><img src="{$style['imagefolder']}/obengrafik.gif" width="450" height="12" /><img src="{$style['imagefolder']}/obenrechts.gif" width="150" height="12" /><br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tablecat" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><table cellpadding="0" cellspacing="0">
<tr class="tablecat_fc">
<td><span class="normalfont"> <if($show_hide == 1)><then><a href="$current_url"><img src="{$style['imagefolder']}/minus.gif" border="0" alt="{$LANG_START_DEACTIVATE_CAT}" title="{$LANG_START_DEACTIVATE_CAT}" /></a></then><else><if($show_hide == 2)><then><a href="$current_url"><img src="{$style['imagefolder']}/plus.gif" border="0" alt="{$LANG_START_SHOWCAT}" title="{$LANG_START_SHOWCAT}" /></a></then></if></else></if> </span></td>
<td><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont"><if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if></span></td>
</tr>
</table>
</td>
</tr>
<if($show_hide==1)><then>
<tr>
<td class="tabletitle"><span class="smallfont"> </span></td>
<td class="tabletitle" style="width:<if($hide_modcell==0)><then>80</then><else>50</else></if>%" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BOARDS']}</b></span></td>
<td class="tabletitle" align="center" style="width: 60" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_START_POSTS']}</b></span></td>
<td class="tabletitle" align="center" style="width: 60" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_START_THREADS']}</b></span></td>
<td class="tabletitle" align="center" nowrap="nowrap" style="width: 280"><span class="smallfont"><b>{$lang->items['LANG_START_LASTPOST']}</b></span></td>
<if($hide_modcell==0)><then><td class="tabletitle" style="width:20%" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_MODERATORS']}</b></span></td></then></if>
</tr>
</then></if>
</then>
<else> |
|
und meine index an der stelle so:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
|
$boardbit
</td>
</table><img src="{$style['imagefolder']}/untenlinks.gif" width="23" height="12" /><img src="{$style['imagefolder']}/untengrafik.gif" width="704" height="12" /><img src="{$style['imagefolder']}/untenrechts.gif" width="23" height="12" /><br><br><img src="{$style['imagefolder']}/obenlinks.gif" width="150" height="12" /><img src="{$style['imagefolder']}/obengrafik.gif" width="450" height="12" /><img src="{$style['imagefolder']}/obenrechts.gif" width="150" height="12" />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<if($showuseronline==1)>
<then>
<tr>
<td class="tabletitle" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" align="left"><span class="smallfont"><b><a href="wiw.php{$SID_ARG_1ST}">{$lang->items['LANG_START_SHOWUSERONLINE']}</a></b></span></td>
</tr>
|
|
Die Grafik oberhalb der Kategorie zeigt er ja an, aber die unter der Kategorie nicht.
Hoffe dir hilft das weiter
trillian2002
Dann bekomm ich das ergebnis:
[IMG]http://img164.imageshack.us/img164/8545/cat

n.jpg[/IMG]
Hab mal meine index u. index_catbit ganz drangehängt vielleicht kannst mir dann besser helfen, merci schonmal im vorraus
Benedikt
Änder den Code von der index_catbit mal so:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
|
<if($depth == 1)>
<then>
</table><img src="{$style['imagefolder']}/untenlinks.gif" width="23" height="12" /><img src="{$style['imagefolder']}/untengrafik.gif" width="704" height="12" /><img src="{$style['imagefolder']}/untenrechts.gif" width="23" height="12" /><br /><img src="{$style['imagefolder']}/obenlinks.gif" width="150" height="12" /><img src="{$style['imagefolder']}/obengrafik.gif" width="450" height="12" /><img src="{$style['imagefolder']}/obenrechts.gif" width="150" height="12" />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tablecat" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><table cellpadding="0" cellspacing="0">
<tr class="tablecat_fc">
<td><span class="normalfont"> <if($show_hide == 1)><then><a href="$current_url"><img src="{$style['imagefolder']}/minus.gif" border="0" alt="{$LANG_START_DEACTIVATE_CAT}" title="{$LANG_START_DEACTIVATE_CAT}" /></a></then><else><if($show_hide == 2)><then><a href="$current_url"><img src="{$style['imagefolder']}/plus.gif" border="0" alt="{$LANG_START_SHOWCAT}" title="{$LANG_START_SHOWCAT}" /></a></then></if></else></if> </span></td>
<td><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont"><if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if></span></td>
</tr>
</table>
</td>
</tr>
<if($show_hide==1)><then>
<tr>
<td class="tabletitle"><span class="smallfont"> </span></td>
<td class="tabletitle" style="width:<if($hide_modcell==0)><then>80</then><else>50</else></if>%" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BOARDS']}</b></span></td>
<td class="tabletitle" align="center" style="width: 60" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_START_POSTS']}</b></span></td>
<td class="tabletitle" align="center" style="width: 60" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_START_THREADS']}</b></span></td>
<td class="tabletitle" align="center" nowrap="nowrap" style="width: 280"><span class="smallfont"><b>{$lang->items['LANG_START_LASTPOST']}</b></span></td>
<if($hide_modcell==0)><then><td class="tabletitle" style="width:20%" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_MODERATORS']}</b></span></td></then></if>
</tr>
</then></if>
</then>
<else>
<if($depth == 2)>
<then>
<tr>
<td class="tableb" align="center"><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" border="0" /></td>
<td class="tablecat" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><table cellpadding="0" cellspacing="0">
<tr class="tablecat_fc">
<td><span class="normalfont"> <if($show_hide == 1)><then><a href="$current_url"><img src="{$style['imagefolder']}/minus.gif" border="0" alt="{$LANG_START_DEACTIVATE_CAT}" title="{$LANG_START_DEACTIVATE_CAT}" /></a></then><else><if($show_hide == 2)><then><a href="$current_url"><img src="{$style['imagefolder']}/plus.gif" border="0" alt="{$LANG_START_SHOWCAT}" title="{$LANG_START_SHOWCAT}" /></a></then></if></else></if> </span></td>
<td><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont"><if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if></span></td>
</tr>
</table>
</tr>
</then>
<else>
<tr>
<td class="tableb" align="center"> </td>
<td class="tablecat" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left">
<table cellpadding="0" cellspacing="0">
<tr class="tablecat_fc">
<td><img src="{$style['imagefolder']}/$onoff.gif" border="0" alt="" title="" /></td>
<td><span class="normalfont"> <if($show_hide == 1)><then><a href="$current_url"><img src="{$style['imagefolder']}/minus.gif" border="0" alt="{$LANG_START_DEACTIVATE_CAT}" title="{$LANG_START_DEACTIVATE_CAT}" /></a></then><else><if($show_hide == 2)><then><a href="$current_url"><img src="{$style['imagefolder']}/plus.gif" border="0" alt="{$LANG_START_SHOWCAT}" title="{$LANG_START_SHOWCAT}" /></a></then></if></else></if> </span></td>
<td><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont"><if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if></span></td>
</tr>
</table>
</td>
</tr>
</else>
</if>
</else>
</if>
|
|
trillian2002
wow perfekt, vielen dank
genau so wollt ich das die ganze zeit