[Typo3] Newstemplate problem
Mischa Koning
t3 at xoning.com
Fri Feb 4 18:13:05 CET 2005
found a <table>-tag problem in your Template:
have a look around somewhere in the middle part of the code, the
part where it sais <table..... width="98%">
1. the <tr><td>-tags are missing before
2. the </td></tr><tr> tags are missing after
the correct html should therefore be:
<tr><td>
<table border="1" cellspacing="0" cellpadding="1" width="98%">
<tr> <td valign="top"> </td> </tr>
</table>
</td></tr>
<tr>
regards, mischa
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of W van
Bruggen
Sent: Friday, February 04, 2005 2:30 PM
To: TYPO3 English
Subject: [Typo3] Newstemplate problem
Hello list,
i have created a template in which i want to show the title/text/etc
and a little collumn next to it (topright) which displays the linked
pages. I've used this code on many of the template which i use in the
same site. This template is used in a page-element where i use the
News plugin (2.0.4)
Problem is, the code displays the title/text/etc in the big table just
fine, but the small table doesn't show up at all. I've looked over
this code quite a few times now, but i just don't see the problem. Any
ideas on what is wrong with it ?
Greets,
W van Bruggen
-----------------------------------------------------------------
<!-- ###TEMPLATE_SINGLE### begin
This subpart is used to display single news items
-->
<table width="44" border="0" cellspacing="0" cellpadding="0"
align="left" height="21">
<tr>
<td> </td>
</tr>
</table>
<table width="439" border="0" cellspacing="0" height="624"
cellpadding="0" align="left">
<tr>
<td width="48" height="50"
background="fileadmin/Stockcars/img/linksbovenhoek.gif"> </td>
<td width="364" height="50"
background="fileadmin/Stockcars/img/boven.gif"> </td>
<td width="27" height="50"
background="fileadmin/Stockcars/img/rechtsbovenhoek.gif"> </td>
</tr>
<tr>
<td width="48"
background="fileadmin/Stockcars/img/links.gif"> </td>
<td width="364" valign="top" bgcolor="#FFFFFF">
###NEWS_TITLE### <br />
###GW2B### ###NEWS_DATE### ###NEWS_TIME### <br />
###TEXT_NEWS_AGE### ###NEWS_AGE### ###GW2E###<br />
<img alt="" src="clear.gif" width="1" height="5" /><br />
###GW2B### ###NEWS_AUTHOR###<br />
###TEXT_CAT### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE###
###GW2E###<br />
###GW1B### ###NEWS_SUBHEADER### <br />
###NEWS_IMAGE###
###NEWS_CONTENT### <br /><br />
</td>
<td width="27" height="524"
background="fileadmin/Stockcars/img/rechts.gif"> </td>
</tr>
<tr>
<td width="48" height="50"
background="fileadmin/Stockcars/img/linksonderhoek.gif"> </td>
<td width="364" height="50"
background="fileadmin/Stockcars/img/onder.gif"> </td>
<td width="27" height="50"
background="fileadmin/Stockcars/img/rechtsonderhoek.gif"> </td>
</tr>
</table>
<table width="268" height="230" border="0" align="left"
cellpadding="0" cellspacing="0">
<table border="0" cellspacing="0" cellpadding="1" width="98%">
<tr>
<td valign="top">
</td>
</tr>
</table>
<td width="50" height="50"
background="fileadmin/Stockcars/img/linksbovenhoek.gif"> </td>
<td width="170" height="50"
background="fileadmin/Stockcars/img/boven.gif"> </td>
<td width="48" height="50"
background="fileadmin/Stockcars/img/rechtsbovenhoek.gif"> </td>
</tr>
<tr>
<td width="50" height="130"
background="fileadmin/Stockcars/img/links.gif"> </td>
<td width="170" height="130">
<table cellspacing="0" cellpadding="2" height="130" border="0"
bordercolor="#6666FF">
<tr>
<td width="168" height="130" align="left" valign="top"
bordercolor="#0000FF" bgcolor="#FFFFFF" border="1">
###TEXT_LINKS###<br />
###NEWS_LINKS###<br />
###TEXT_RELATED###<br />
###NEWS_RELATED###
<br />
###TEXT_FILES###<br />
###FILE_LINK###
###GW1E###<br />
###GW2B### <!--###LINK_ITEM###--> ###BACK_TO_LIST###
<!--###LINK_ITEM###--> ###GW2E###
</td>
</tr>
</table></td>
<td width="48" height="130"
background="fileadmin/Stockcars/img/rechts.gif"> </td>
</tr>
<tr>
<td width="50" height="50"
background="fileadmin/Stockcars/img/linksonderhoek.gif"> </td>
<td width="170" height="50"
background="fileadmin/Stockcars/img/onder.gif"> </td>
<td width="48" height="50"
background="fileadmin/Stockcars/img/rechtsonderhoek.gif"> </td>
</tr>
</table>
<!-- ###TEMPLATE_SINGLE### end -->
---------------------------------------------------------
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list