[TYPO3-shop] Highliht items in FE without categories

Iztok Kham pajek at pajcevina.net
Fri Jan 16 13:27:10 CET 2009


Hello Franz!

> Hello Iztok,
> 
>> I would like to have a 3 column list of highlighted items when visitor 
>> comes to the "Catalogue" page. I seems to work, but ... if I have 
>> items from different categories each category starts a new table.
>> 

>> Now ... list comes out like this:
>>
>> ----------------------------------------
>> | Item A1.1  | Item A1.2  |            |
>> ----------------------------------------
>> ----------------------------------------
>> | Item A2.1  | Item A2.2  | Item A2.3  |
>> ----------------------------------------
>> | Item A2.4  | ...        |            |
>> ----------------------------------------
>>
>> What I would like is this:
>> ----------------------------------------
>> | Item A1.1  | Item A1.2  | Item A2.1  |
>> ----------------------------------------
>> | Item A2.2  | Item A2.3  | Item A2.4  |
>> ----------------------------------------
>> | ...        |            |            |
>> ----------------------------------------
>>
>> So ... I would like to have just list of highlighted items without any 
>> category classification.
>>
>> Is this possible (without PHP code hacking)?
> 
> you must remove the subpart <!-- ###ITEM_CATEGORY### begin --> ... <!-- 
> ###ITEM_CATEGORY### end --> from your list view subpart (e.g. 
> ###ITEM_LIST_TEMPLATE###) .
> Otherwise it always shows the categories and must start with a new line 
> when the category changes.
> 
> 
> - Franz

Thanks for your suggestion, but it doesn't help.

Here's my template for list view if it helps:

<!-- ###ITEM_LIST_TEMPLATE### begin -->
<div class="prodList" id="bodyBodyList">
    <table class="prodList">
       <!-- ###ITEM_CATEGORY_AND_ITEMS### begin -->
       <!-- ###ITEM_LIST### begin -->
       <tr>
          <!-- ###ITEM_SINGLE### begin-->
          ###ITEM_SINGLE_PRE_HTML###
          <td>
             <div class="prodListItem">
                <img src="fileadmin/templates/cor_white_top.gif" />
                <div class="contentPhoto">###PRODUCT_IMAGE###</div>
                <div class="contentCaption">
                   <!--###LINK_ITEM###-->
                   ###GW1B###
                   ###PRODUCT_TITLE###
                   ###GW1E###
                   <!--###LINK_ITEM###-->
                </div>
                <img src="fileadmin/templates/cor_white_bott.gif" />
             </div>
          </td>
          ###ITEM_SINGLE_POST_HTML###
          <!-- ###ITEM_SINGLE### end -->
       </tr>
       <!-- ###ITEM_LIST### end -->
       <!-- ###ITEM_CATEGORY_AND_ITEMS### end -->
    </table>
</div>
<!-- ###ITEM_LIST_TEMPLATE### end -->

Is there any other way to make in work or do I have to hack PHP?

Many thanx,

-- Iztok


More information about the TYPO3-project-tt-products mailing list