[Typo3] tt_news LIST loses links
W van Bruggen
w.van.bruggen at gmail.com
Tue Feb 15 16:55:52 CET 2005
Hi Marlies,
are you using a custom template ? It seems you lost some code when you
made it, because my custom template doesn't lose the links when in
list mode.
I've included the code i use in my newstemplate for the LIST mode
which displays just fine. Dunno if its usefull, but might be worth the
shot to see if there are any differences. I removed a few ###tags###
which i didn't want to display
Greets,
Wietse
--------------------------------------------------------------------------------------------
<!-- ###TEMPLATE_LIST### begin
This is the template for the list of news in the archive or news page or search
-->
<table cellpadding="4" cellspacing="1" border="0" width="98%">
<!-- ###CONTENT### begin
This is the part of the template substituted with the list of news:
-->
<!-- ###NEWS### begin
Template for a single item
-->
<tr bgcolor="###GC1###">
<td valign="top" colspan="3">
###GW1B###
<!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###-->
###GW1E###
###GW2B### ###GW2E###
</td>
</tr>
<tr bgcolor="###GC4###">
<td valign="top">
###GW1B### ###NEWS_SUBHEADER### ###GW1E###
###GW2B###<!--###LINK_ITEM###-->###MORE###<!--###LINK_ITEM###-->###GW2E###
<br /><br />
###GW2B### ###NEWS_AUTHOR### ###NEWS_TIME### <br />
###TEXT_CAT### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE###
###NEWS_LANGUAGE######GW2E###
</td>
<td><img alt="" src="clear.gif" height="1" width="10" /></td>
<td width="1%"><!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###--></td>
</tr>
<tr>
<td valign="top" colspan="3"><img alt="" src="clear.gif"
height="5" width="1" /></td>
</tr>
<!-- ###NEWS### end-->
<!-- ###NEWS_1### begin
Template for an alternative item in single view
-->
<tr bgcolor="###GC2###">
<td valign="top" colspan="3">
###GW1B###
<!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###-->
###GW1E###
###GW2B### ###GW2E###
</td>
</tr>
<tr bgcolor="###GC4###">
<td valign="top">
###GW1B### ###NEWS_SUBHEADER### ###GW1E###
###GW2B###<!--###LINK_ITEM###-->###MORE###<!--###LINK_ITEM###-->###GW2E###
<br /><br />
###GW2B### ###NEWS_AUTHOR### ###NEWS_TIME### <br />
###TEXT_CAT### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE###
###NEWS_LANGUAGE######GW2E###
</td>
<td><img alt="" src="clear.gif" height="1" width="10" /></td>
<td width="1%"><!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###--></td>
</tr>
<tr>
<td valign="top" colspan="3"><img alt="" src="clear.gif"
height="5" width="1" /></td>
</tr>
<!-- ###NEWS_1### end-->
<!-- ###CONTENT### end -->
<tr>
<td align="center" colspan="3">###GW2B### ###LINK_PREV###
###BROWSE_LINKS### ###LINK_NEXT### ###GW2E###</td>
</tr>
</table>
<!-- ###TEMPLATE_LIST### end -->
----------------------------------------------------------------------
More information about the TYPO3-english
mailing list