Pagina 1 van 1
Viewtopic_body.tpl geeft problemen
Geplaatst: 18 dec 2003, 09:29
door Flipper01
Ik ben bezig om mijn forum aan te passen aan mijn website style en stuit hierbij op een probleempje binnen viewtopic_body.tpl
Forum:
http://members.lycos.nl/mood43site/phpBB2/
Website:
http://www.ibnbattuta.nl
Zoals je kan zien is het me gelukt om de witte vlakken deels doorzichtig te maken (net zoals op m'n website). Ik krijg echter in de
posts de achtergrond
niet doorzichtig.. Ik snap niet wat ik verkeerd doe, want ik doe eigenlijk precies hetzelfde als bij viewforum_body.tpl
Hopelijk kunnen jullie mij uitleggen wat ik moet doen om dit goed te krijgen.
Geplaatst: 18 dec 2003, 20:03
door WebSiteNet
Ligt er aan hoe je het bij de andere cellen het hebt gedaan. Heb je een voorbeeldje?
Geplaatst: 19 dec 2003, 00:12
door Flipper01
Dit staat in m'n index_body (en iets vergelijkbaars in viewforum_body):
Code: Selecteer alles
<table width="100%" cellpadding="2" cellspacing="1" border="0">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> Forum </th>
<th width="50" class="thTop" nowrap="nowrap"> Onderwerpen </th>
<th width="50" class="thTop" nowrap="nowrap"> Berichten </th>
<th class="thCornerR" nowrap="nowrap"> Laatste Bericht </th>
</tr>
<tr>
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="index.php?c=1" class="cattitle">Test category 1</a></span></td>
<td class="rowpic" colspan="3" align="right"> </td>
</tr>
<tr class="forumline">
<td class="row1" align="center" valign="middle" height="50"><img src="templates/Battuta/images/folder_big.gif" width="46" height="25" alt="Geen nieuwe berichten" title="Geen nieuwe berichten" /></td>
<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="viewforum.php?f=1" class="forumlink">Test Forum 1</a><br />
</span> <span class="genmed">This is just a test forum.<br />
</span><span class="gensmall"> </span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">2</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">4</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">18 Dec 2003 07:40 am<br /><a href="profile.php?mode=viewprofile&u=2">Flipper01</a> <a href="viewtopic.php?p=6#6"><img src="templates/Battuta/images/icon_latest_reply.gif" border="0" alt="Bekijk laatste bericht" title="Bekijk laatste bericht" /></a></span></td>
</tr>
<tr class="forumline">
<td class="row1" align="center" valign="middle" height="50"><img src="templates/Battuta/images/folder_big.gif" width="46" height="25" alt="Geen nieuwe berichten" title="Geen nieuwe berichten" /></td>
<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="viewforum.php?f=2" class="forumlink">Test forum 2</a><br />
</span> <span class="genmed">test test<br />
</span><span class="gensmall"> </span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">0</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">0</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">Geen berichten</span></td>
</tr>
En dit staat in mijn viewtopic_body:
Code: Selecteer alles
<table width="100%" cellspacing="1" cellpadding="3" border="0">
{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 -->
<tr class="forumline">
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br /></td>
<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"> </span> {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> </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>
Ik hoop dat je er een beetje wijs uit kan worden, het gaat er iig om dat ik de
class="forumline" uit de <table> tag heb gehaald en in de <tr> tags heb gezet