[TYPO3] template with 5 news next to each other

Camilla test at test.dk
Mon Dec 11 08:12:43 CET 2006


No I havent - but it sounds like the right thing to do - where do I do it?

-- 
Best regards

Camilla

"Staffan Ericsson" <staffan at zytor.com> skrev i en meddelelse 
news:mailman.1.1165587820.32004.typo3-english at lists.netfielders.de...
> Have you configured the extension at pagelevel so it will use 5
> alternate templates for latest/list?
>
> .staffan
>
> Camilla skrev:
>> Hi
>>
>> I hope someone can help - I have tried to create a template for tt_news
>> where the news i listed next to each other by 5 and then a new line with 
>> the
>> next 5 news and so forth. But the template I created only list 2 news by
>> each other and then go to next line...It seem like it only sees the first
>> two ###news### in the template. Please help :o)
>>
>> <!-- ###TEMPLATE_LIST### begin
>>  This is the template for the list of news in the archive or news page or
>> search
>> -->
>> <table cellpadding="0" cellspacing="0" border="0" width="98%">
>>
>> ###NEWS_CATEGORY_ROOTLINE###
>>  <!-- ###CONTENT### begin
>>     This is the part of the template substituted with the list of news:
>>  -->
>>   <!-- ###NEWS### begin
>>    Template for a single item
>>   --><tr><td><table cellpadding="0" cellspacing="0" border="0">
>>    <tr><td>###NEWS_IMAGE###</td></tr>
>>    <tr>
>>     <td valign="top" class="boldtext">
>>       ###NEWS_TITLE###
>>
>>     </td>
>>    </tr>
>>    <tr >
>>     <td valign="top" class="normaltext">
>>
>>       ###NEWS_CONTENT###
>>     </td>
>>    </tr></table>
>>
>>   <!-- ###NEWS### end-->
>>   <!-- ###NEWS_1### begin
>>    Template for an alternative item in single view
>>   -->
>>   <td><table cellpadding="0" cellspacing="0" border="0">
>>    <tr><td>###NEWS_IMAGE###</td></tr>
>>    <tr>
>>     <td valign="top" class="boldtext">
>>      ###NEWS_TITLE###
>>
>>     </td>
>>    </tr>
>>    <tr>
>>     <td valign="top" class="normaltext">
>>
>>      ###NEWS_CONTENT###
>>     </td>
>>    </tr></table>
>>
>>   <!-- ###NEWS_1### end-->
>>   <!-- ###NEWS_2### begin
>>    Template for a single item
>>   --><td><table cellpadding="0" cellspacing="0" border="0">
>>    <tr><td>###NEWS_IMAGE###</td></tr>
>>    <tr>
>>     <td valign="top" class="boldtext">
>>       ###NEWS_TITLE###
>>
>>     </td>
>>    </tr>
>>    <tr >
>>     <td valign="top" class="normaltext">
>>
>>       ###NEWS_CONTENT###
>>     </td>
>>    </tr></table>
>>
>>   <!-- ###NEWS_2### end-->
>>   <!-- ###NEWS_3### begin
>>    Template for an alternative item in single view
>>   -->
>>   <td><table cellpadding="0" cellspacing="0" border="0">
>>    <tr><td>###NEWS_IMAGE###</td></tr>
>>    <tr>
>>     <td valign="top" class="boldtext">
>>      ###NEWS_TITLE###
>>
>>     </td>
>>    </tr>
>>    <tr>
>>     <td valign="top" class="normaltext">
>>
>>      ###NEWS_CONTENT###
>>     </td>
>>    </tr></table>
>>
>>   <!-- ###NEWS_3### end-->
>>    <!-- ###NEWS_4### begin
>>    Template for an alternative item in single view
>>   -->
>>   <td><table cellpadding="0" cellspacing="0" border="0">
>>    <tr><td>###NEWS_IMAGE###</td></tr>
>>    <tr>
>>     <td valign="top" class="boldtext">
>>      ###NEWS_TITLE###
>>
>>     </td>
>>    </tr>
>>    <tr>
>>     <td valign="top" class="normaltext">
>>
>>      ###NEWS_CONTENT###
>>     </td>
>>    </tr></table></td></tr>
>>
>>   <!-- ###NEWS_4### end-->
>>     <!-- ###NEWS_5### begin
>>    Template for a single item
>>   --><tr><td><table cellpadding="0" cellspacing="0" border="0">
>>    <tr><td>###NEWS_IMAGE###</td></tr>
>>    <tr>
>>     <td valign="top" class="boldtext">
>>       ###NEWS_TITLE###
>>
>>     </td>
>>    </tr>
>>    <tr >
>>     <td valign="top" class="normaltext">
>>
>>       ###NEWS_CONTENT###
>>     </td>
>>    </tr></table></td></tr>
>>
>>   <!-- ###NEWS_5### end-->
>>  <!-- ###CONTENT###  end -->
>>
>> </table>
>>
>>
>>
>> <!-- ###TEMPLATE_LIST### end -->
>> 




More information about the TYPO3-english mailing list