Seite 1 von 1

Falsche Darstellung - Umfrage Fenster

Verfasst: 02.02.2004 16:01
von H²O
Hallo zusammen..

Wenn eine Umfrage erstellt wurde, wird das Ergebnis der Umfrage über den Threads angezeigt und zwar in der kompletten Breite(Also über der Spalte "Autor" und "Nachricht")

Ich habe irgendwetwas in den Templates Dateien überschrieben, sodaß Umfrage Ergebnisse nur noch gestaucht oberhalb der ersten Spalte ("Autor") erscheinen...

Wie kann ich das wieder ausbügeln?

Danke schon mal für eure Hilfe

Verfasst: 02.02.2004 16:51
von Faser
Poste mal den Inhalt der Datei templates/dein_template/viewtopic_body.tpl, am besten nur 5 Zeilen vor und nach {POLL_DISPLAY}.

Und dann wäre noch der Inhalt von der templates/dein_template/viewtopic_poll_ballot/_results.tpl

Wahrscheinlich musst du in den letzten beiden Dateien ein cellspacing um eins nach oben setzen. ;-)

Verfasst: 02.02.2004 17:21
von H²O
viewtpoic.tpl hat geschrieben:<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
<td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a>
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
</tr>
</table>

<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr align="right">
<td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a> &nbsp;</span></td>
</tr>
{POLL_DISPLAY}
<tr>
<th class="thLeft" width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
<th class="thRight" nowrap="nowrap">{L_MESSAGE}</th>
</tr>
<!-- BEGIN postrow -->
...result.tpl hat geschrieben:<table width="100%" border="0" cellpadding="3" cellspacing="1" class="forumline">
<tr>
<th>Poll :: {POLL_QUESTION}</th>
</tr>
<tr>
<td class="row2">
<br />
<table cellspacing="0" cellpadding="4" border="0" align="center">
<tr>
<td><table cellspacing="0" cellpadding="2" border="0">
<!-- BEGIN poll_option -->
<tr>
<td>{poll_option.POLL_OPTION_CAPTION}</td>
<td> <table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/fiblack/images/vote_lcap.gif" width="4" alt="" height="12" /></td>
<td><img src="{poll_option.POLL_OPTION_IMG}" width="{poll_option.POLL_OPTION_IMG_WIDTH}" height="12" alt="{poll_option.POLL_OPTION_PERCENT}" title="{poll_option.POLL_OPTION_PERCENT}" /></td>
<td><img src="templates/fiblack/images/vote_rcap.gif" width="4" alt="" height="12" /></td>
</tr>
</table></td>
<td align="center">&nbsp;<strong>{poll_option.POLL_OPTION_PERCENT}</strong>&nbsp;</td>
<td align="center">[ {poll_option.POLL_OPTION_RESULT} ]</td>
</tr>
<!-- END poll_option -->
</table></td>
</tr>
<tr>
<td colspan="4" align="center"><strong>{L_TOTAL_VOTES} : {TOTAL_VOTES}</strong></td>
</tr>
</table>
<br />
</td>
</tr>
</table>
<br />

Verfasst: 02.02.2004 21:21
von H²O
Ich habe es mittlerweile selber hinbekommen..

Indem du mir zeigtest, wo der Fehler stecken könnte habe ich den Bereich einfach von der Original Datei überschrieben
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<th width="150" height="28">{L_AUTHOR}</th>
<th width="100%">{L_MESSAGE}</th>
</tr>
Danke 8)