[Typo3] tt_news LIST loses links

Marlies C mc at mcuniverse.com
Tue Feb 15 20:01:17 CET 2005


"W van Bruggen" wrote in message 
news:mailman.78.1108482981.16343.typo3-english at lists.netfielders.de...
> 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
>

Hi Wietse,

Yes, I am using a custom template and the one without tables as my new 
design is without tables.

The funny thing is that it works for LATEST but not for LIST and I don't see 
any difference. Here is my code for LIST:

<!-- ###TEMPLATE_LIST### begin
 This is the template for the list of news in the archive or news page or 
search
-->
<div class="news-list-container">
 <!-- ###CONTENT### begin
    This is the part of the template substituted with the list of news:
 -->

  <!-- ###NEWS### begin
   Template for a single item
  -->

   <div class="news-list-item">
###CATWRAP_B### ###TEXT_CAT### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE### 
###CATWRAP_E###
     <h3>
<span class="news-list-date">###NEWS_DATE###</span>
<!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h3>
  <!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###-->
  ###NEWS_SUBHEADER###
<hr class="clearer" /></div>
 <!-- ###NEWS### end-->
 <!-- ###CONTENT###  end -->
 <div class="news-list-browse">###BROWSE_LINKS###</div>
</div>
<!-- ###TEMPLATE_LIST### end -->

and this is my LATEST code:
<!-- ###TEMPLATE_LATEST### begin
 This is the template for the latest news, typically displayed on a 
frontpage
-->
<div class="news-latest-container">
 <h2>###LATEST_HEADER###</h2>
 <!-- ###CONTENT### begin
    This is the part of the template substituted with the list of news:
 -->
  <!-- ###NEWS### begin
   Template for a single item
  -->
     <div class="news-latest-item">

    <span class="news-latest-date"><!--###LINK_ITEM###-->###NEWS_DATE### 
###NEWS_TIME###<!--###LINK_ITEM###--></span>
    <h4><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h4>
    <!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###-->
    ###NEWS_SUBHEADER###<hr class="clearer" />
    ###CATWRAP_B### ###TEXT_CAT_LATEST### ###NEWS_CATEGORY### 
###NEWS_CATEGORY_IMAGE### ###CATWRAP_E###<br />
                 </div>

  <!-- ###NEWS### end-->
 <!-- ###CONTENT###  end -->
<div 
class="news-latest-gotoarchive"><!--###LINK_ARCHIVE###-->###GOTOARCHIVE###<!--###LINK_ARCHIVE###--></div>
</div>
<!-- ###TEMPLATE_LATEST### end -->

Regards,
Marlies
www.mcuniverse.com





More information about the TYPO3-english mailing list