Seite 1 von 2

ein teil der viewtopic_body.tpl in eine grafiktabelle

Verfasst: 10.10.2006 08:28
von habbi
ich würde gerne ein teil der viewtopic_body.tpl in eine grafiktabelle einbauen.. (die grafik tabelle habe ich schon)
jetzt weiss ich einfach nicht genau welcher teil..
ich möchte drin:
ip, löschen, edit, zitat, den beitrag, signatur, und das untere teil wie z.b email www und so..
welcher teil muss ich da in meine tabelle packen?

Verfasst: 11.10.2006 10:00
von habbi
*Push* :oops:

Re: ein teil der viewtopic_body.tpl in eine grafiktabelle

Verfasst: 11.10.2006 13:20
von nickvergessen
habbi hat geschrieben: ich möchte drin:
ip, löschen, edit, zitat, den beitrag, signatur, und das untere teil wie z.b email www und so..
welcher teil muss ich da in meine tabelle packen?
ihc nehme mal an, das heißt ohne links den usernamen usw.

dann wäre es folgendes:

Code: Alles auswählen

	<!-- BEGIN postrow -->
	<tr>
                 <td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen">&nbsp;</span>&nbsp; &nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
				<td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
			</tr>
			<tr>
				<td colspan="2"><hr /></td>
			</tr>
			<tr>
				<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
			</tr>
		</table></td>
	</tr>
	<tr>
		<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
			<tr>
				<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!--

	if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
		document.write(' {postrow.ICQ_IMG}');
	else
		document.write('</td><td>&nbsp;</td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');

				//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
			</tr>
		</table></td>
	</tr>
	<tr>
		<td class="spaceRow" colspan="2" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
	</tr>
	<!-- END postrow -->

Verfasst: 11.10.2006 13:36
von habbi
dachte ich eben auch.. aber dann hat die tabelle einen fehler
ich probiers nochmal so ;)

edit:
das ist aber mit username etc

edit2:
hier die tabelle

Code: Alles auswählen

														<table border="0"  cellspacing="0" cellpadding="0">
															<tr>
																<td width="16">
																<img border="0" src="view/button9.gif" width="16" height="17"></td>
																<td background="view/button16.gif">
																<img border="0" src="view/button16.gif" width="2" height="17"></td>
																<td width="16">
																<img border="0" src="view/button15.gif" width="16" height="17"></td>
															</tr>
															<tr>
																<td width="16" background="view/button10.gif">&nbsp;</td>
																<td bgcolor="#FFEFA5">


<font face="Verdana" size="1"><b>


</b></font>inhalt</td>
																<td background="view/button14.gif" width="16">
																<img border="0" src="view/button14.gif" width="16" height="2"></td>
															</tr>
															<tr>
																<td width="16">
																<img border="0" src="view/button11.gif" width="16" height="16"></td>
																<td background="view/button12.gif">
																<img border="0" src="view/button12.gif" width="2" height="16"></td>
																<td width="16">
																<img border="0" src="view/button13.gif" width="16" height="16"></td>
															</tr>
														</table>

Verfasst: 11.10.2006 14:11
von gn#36
Ich vermute das Problem besteht darin, dass die Tabelle ziemlich an den Linken Rand gequetscht ist? Da fehlt nämlich die Angabe colspan="3":
<!-- BEGIN postrow -->
<tr>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
Die Tabelle befindet sich sonst nur in der ersten Spalte von dreien in deiner Tabelle. Außerdem müsstest du vermutlich ein paar der colspan="2" in colspan="3" (aber nicht unbedingt alle) verwandeln da deine Tabelle eben 3 und nicht 2 Spalten enthält.

Verfasst: 11.10.2006 14:37
von habbi
danke
aber könnte mir bitte jemand die tabelle einbauen?
hier meine view_topic.tpl
http://forumserver.fo.ohost.de/viewtopic_body.txt

Verfasst: 12.10.2006 09:19
von habbi
push :oops:

Verfasst: 13.10.2006 07:44
von habbi
psuh :oops:

Verfasst: 14.10.2006 09:47
von habbi
push.. :oops:

Verfasst: 15.10.2006 09:41
von habbi
push :oops: