YourWBB


yourWBB » WoltLab Burning Board Generation 2 * » Alles von und für das WBB 2.3.x » [WBB 2.3.x] Allg. Fragen und Probleme » index_catbit » Hallo Gast [Anmelden|Registrieren]
Letzter Beitrag | Erster ungelesener Beitrag 950 Views | | Thema zu Favoriten hinzufügen

Neues Thema erstellen Antwort erstellen

Dieses Thema wurde als unerledigt markiert. Thread unerledigt

Zum Ende der Seite springen index_catbit
Autor
Beitrag « Vorheriges Thema | Nächstes Thema »
Rootnix Rootnix ist männlich
Mitglied


Dabei seit: 05.10.08
Beiträge: 42
Fähigkeiten: WBB2 Anfänger
Forenversion: 2.3

 index_catbit Antworten Zitieren Editieren Melden       UP

Hallo ^^

Ich möchte das template index_catbit etwas verändern. Habs auch schon versucht, hat aber nicht ganz so geklappt, wie ich wollte. Am besten erklär ich euch erst, was ich machen will ^^

In dieser Kategoriezeile sollen am Ende 4 Grafiken sein. Eine ganz links, direkt neben dieser Grafik kommt dann der Kategorietitel hin, rechts neben diesem noch eine Grafik und ganz rechts am Rand eine. Die 4. wird dann eine Hintergrundgrafik.

So sollte es dann ungefähr aussehen:
http://i43.tinypic.com/2wgwrx1.png

Und so sieht das template momentan 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:
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:
<if($depth == 1)>
 <then>
 
 <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">&nbsp;<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>&nbsp;</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>
 
 </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">&nbsp;<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>&nbsp;</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>
 
 </then>
  
  <else>
 
 <tr>
 <td class="tableb" align="center">&nbsp;</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">&nbsp;<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>&nbsp;</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>



Ich selbst hab damit schon ein bisschen rumprobiert, aber habs nicht richtig hinbekommen. Nagut, stimmt nicht ganz. Ich habs hinbekommen, jedoch sind da einige Fehler drinnen und es sieht nur mit firefox so aus.

Also wie genau bekomm ich das jetzt am besten hin?
07.03.09 19:04 Rootnix ist offline E-Mail Finden Als Freund hinzufügen
Baumstruktur | Brettstruktur
Gehe zu:

Neues Thema erstellen Antwort erstellen

yourWBB » WoltLab Burning Board Generation 2 * » Alles von und für das WBB 2.3.x » [WBB 2.3.x] Allg. Fragen und Probleme » index_catbit