kickzen81
Mitglied
Dabei seit: 30.06.07
Beiträge: 20
|
|
Hallo!
Ich würde gerne die Spaltenbreite bei "Letzter Beitrag" ein bißchen vergrössern, da die Themen (je nach Länge) in 2 oder sogar 3 Zeilen untereinander angezeigt werden.
Wie mache ich das?
Danke
|
|
13.07.07 18:55 |
E-Mail
Finden
Als Freund hinzufügen
|
|
MI B
Mitglied
Dabei seit: 22.04.07
Beiträge: 73
Herkunft: Hamburg Forenversion: Lite 1.0
|
|
Hi
Du öffnest folgende Dateien:
/wbblite/templates/index.tpl
/wbblite/templates/index_boardbit1.tpl
/wbblite/templates/index_boardbit2.tpl
/wbblite/templates/index_boardbit3.tpl
index.tpl
<table cellpadding=4 cellspacing=1 border=0 width="{tableinwidth}" bgcolor="{tableinbordercolor}">
<tr bgcolor="{tabletitlecolor}" id="tabletitle">
<td><smallfont> </font></td>
<td width="60%"><smallfont color="{fontcolorsecond}"><b>Foren</b></font></td>
<td align="center"><smallfont color="{fontcolorsecond}"><b>Beiträge</b></font></td>
<td align="center"><smallfont color="{fontcolorsecond}"><b>Themen</b></font></td>
<td align="center" nowrap width="20%"><smallfont color="{fontcolorsecond}"><b>Letzter Beitrag</b></font></td>
<td width="20%" align="center"><smallfont color="{fontcolorsecond}"><b>Moderatoren</b></font></td>
</tr>
$boardbit
</table>
index_boardbit1.tpl
<tr>
<td id="tablea" bgcolor="{tablecolora}" width="60%" colspan=2><table cellpadding=0 cellspacing=0>
<tr>
<td><img src="{imagefolder}/$onoff.gif" border=0> </td>
<td><normalfont><a href="board.php?boardid=$boards[boardid]&sid=$session[hash]"><b>$boards[tit
le]</b></a></font><smallfont>$boards[description]$subboards</font></td>
</tr>
</table></td>
<td id="tableb" bgcolor="{tablecolorb}" align="center" nowrap><normalfont>$boards[postcount]</font></td>
<td id="tablea" bgcolor="{tablecolora}" align="center" nowrap><normalfont>$boards[threadcount]</font></td>
<td id="tableb" bgcolor="{tablecolorb}" nowrap width="20%">$lastpost</td>
<td id="tablea" bgcolor="{tablecolora}" width="20%" align="center"><smallfont>$moderators</font></td>
</tr>
index_boardbit2.tpl
<tr>
<td id="tableb" bgcolor="{tablecolorb}" align="center"><img src="{imagefolder}/$onoff.gif" border=0></td>
<td id="tablea" bgcolor="{tablecolora}" width="60%"><normalfont><a href="board.php?boardid=$boards[boardid]&sid=$session[hash]"><b>$boards[tit
le]</b></a></font><smallfont>$boards[description]$subboards</font></td>
<td id="tableb" bgcolor="{tablecolorb}" align="center" nowrap><normalfont>$boards[postcount]</font></td>
<td id="tablea" bgcolor="{tablecolora}" align="center" nowrap><normalfont>$boards[threadcount]</font></td>
<td id="tableb" bgcolor="{tablecolorb}" nowrap width="20%">$lastpost</td>
<td id="tablea" bgcolor="{tablecolora}" width="20%" align="center"><smallfont>$moderators</font></td>
</tr>
index_boardbit3.tpl
<tr>
<td id="tableb" bgcolor="{tablecolorb}" align="center"><normalfont> </font></td>
<td id="tablea" bgcolor="{tablecolora}" width="60%"><table cellpadding=0 cellspacing=0>
<tr>
<td><img src="{imagefolder}/$onoff.gif" border=0> </td>
<td><normalfont><a href="board.php?boardid=$boards[boardid]&sid=$session[hash]"><b>$boards[tit
le]</b></a></font><smallfont>$boards[description]$subboards</font></td>
</tr>
</table></td>
<td id="tableb" bgcolor="{tablecolorb}" align="center" nowrap><normalfont>$boards[postcount]</font></td>
<td id="tablea" bgcolor="{tablecolora}" align="center" nowrap><normalfont>$boards[threadcount]</font></td>
<td id="tableb" bgcolor="{tablecolorb}" nowrap width="20%">$lastpost</td>
<td id="tablea" bgcolor="{tablecolora}" width="20%" align="center"><smallfont>$moderators</font></td>
</tr>
So sollte das funktionieren, musst eben ein bisschen mit den größen der Tabellen spielen bis es passt
Hab jetzt im Queltext den ich gepostet habe das schon vergrößert.
|
|
13.07.07 19:17 |
WWW
Finden
Als Freund hinzufügen
|
|
kickzen81
Mitglied
Dabei seit: 30.06.07
Beiträge: 20
Themenstarter
|
|
Vielen Dank!
Kann ich .tpl-Dateien mit Wordpad bzw. Frontpage speichern???
Bekomme einen Hinweis, dass nur als .txt abgespeichert werden kann...?
|
|
13.07.07 19:39 |
E-Mail
Finden
Als Freund hinzufügen
|
|
kickzen81
Mitglied
Dabei seit: 30.06.07
Beiträge: 20
Themenstarter
|
|
Ok, Danke! Hab grad die Dateien geändert auf den Server geladen..., Startseite zeigt aber jetzt einen Fehler an!!!
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /homepages/5/d125160206/htdocs/xxx/wbblite/acp/lib/functions.php(227) : eval()'d code on line 4
|
|
13.07.07 19:56 |
E-Mail
Finden
Als Freund hinzufügen
|
|
MI B
Mitglied
Dabei seit: 22.04.07
Beiträge: 73
Herkunft: Hamburg Forenversion: Lite 1.0
|
|
hm du musst die $boards[title] in eine Zeile schreiben hat das Forum irgendwie n Zeilenumbruch gemacht. Dann sollte es funzen.
|
|
13.07.07 20:04 |
WWW
Finden
Als Freund hinzufügen
|
|
kickzen81
Mitglied
Dabei seit: 30.06.07
Beiträge: 20
Themenstarter
|
|
Oh super, funktioniert!
Mit welchem Wert muss ich jetzt "spielen", wenn ich nur "Letzter Beitrag" vergrössern möchte???
|
|
13.07.07 20:15 |
E-Mail
Finden
Als Freund hinzufügen
|
|
MI B
Mitglied
Dabei seit: 22.04.07
Beiträge: 73
Herkunft: Hamburg Forenversion: Lite 1.0
|
|
Mit den drei Prozentwerten die in jeder Datei sind. Die Prozentwerte dürfen sich aber nicht von Datei zu Datei unterscheiden. Also wenn du einen änderst musst du ihn in allen Dateien ändern die ich oben gepostet habe !!! Und natürlich müssen alle drei Prozentwerte in einer Datei immer 100 ergeben
|
|
13.07.07 20:19 |
WWW
Finden
Als Freund hinzufügen
|
|
RockZau
Mitglied
Dabei seit: 28.04.07
Beiträge: 4
Forenversion: Lite 1.0
|
|
Ich hab das erst benannte problem und bei mir löst es sich nciht wenn ich $boards[title] eingebe. Dazu muss ich sagen, das ich nicht weiß, wo ich es eingeben muss. Schnelle Hilfe bitte.
|
|
14.10.09 22:19 |
E-Mail
Finden
Als Freund hinzufügen
|
|
|
janolaf
Mitglied
Dabei seit: 17.01.04
Beiträge: 337
Herkunft: localhost Forenversion: 2.3
|
|
Zitat: |
Original von RockZau
Ich hab das erst benannte problem und bei mir löst es sich nciht wenn ich $boards[title] eingebe. Dazu muss ich sagen, das ich nicht weiß, wo ich es eingeben muss. Schnelle Hilfe bitte. |
und was das mit dem hier zu tun --> Spaltenbreite "Letzter Beitrag" ?
was genau willst du uns mitteilen ?
|
|
14.10.09 22:52 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
|