[TYPO3-shop] Listview and categories - Display columns

Franz Holzinger franz at ttproducts.de
Wed May 27 21:06:33 CEST 2009


Jogvan Olsen a écrit :

> I want my listing to be displayed in 3 columns – and NOT start on a new 
> row each time the category change.
> 
> I have this in my TS setup:
> plugin.tt_products.conf.tt_products.LIST.displayColumns.1 = 3
> 
> If I understand the manual correctly, this means: sort on the first 
> category in the tree (in my case 'all products') and display listview in 
> 3 columns. But it doesn't seem to be the case – so I need some more help...
> 
> Hope someone can tell me what I am missing / doing wrong.

This means that categories on the first hiearchy level and all next, 
which are not configured, will be shown in 3 columns.
You should not use displayBasketColumns any more.


> My category tree look like this:
> 
> all products
> |
> -|type
>  |--t1
>  |--t2
>  |--t...
>  |
>  |color
>  |--c1
>  |--c2
>  |--c...
> 
> 
> When no category are assigned to the products, I have this list layout.
> 
> This is the layout of listing I want – even when I assign multiply 
> different categories to each product. My problem is – I can't figure out 
> how – please help.
> 
> |-----------------|-----------------|-----------------|
> | PRODUCT1        | PRODUCT2        | PRODUCT3        |
> |                 |                 |                 |
> |-----------------|-----------------|-----------------|
> | PRODUCT4        | PRODUCT5        | PRODUCT6        |
> |                 |                 |                 |
> |-----------------|-----------------|-----------------|
> 
> 
> 
> When I add one category to each product (different category for each 
> product) I get this listing.
> I get at a new row each time the category change.
> 
> |-----------------|
> | PRODUCT1        |
> | category:       |
> |  c1             |
> |-----------------|
> | PRODUCT2        |
> | category:       |
> |  c2             |
> |-----------------|
> | PRODUCT3        |
> | category:       |
> |  c3             |
> |-----------------|
> | PRODUCT4        |
> | category:       |
> |  c4             |
> |-----------------|
> | PRODUCT5        |
> | category:       |
> |  c5             |
> |-----------------|
> | PRODUCT6        |
> | category:       |
> |  c6             |
> |-----------------|
> 

> ############## tt_products start ##############
> plugin.tt_products {
> 
>     pid_list = 271,274,242,312,247
>     pidsRelatedProducts = 242
>     separateImage = 1
>     clickIntoBasket = 1
>     PIDbasket = 310
> }
> 
> 
> plugin.tt_products.conf.tt_products.LIST.displayColumns.1 = 3
> 

> tt_products ver 2.7.1


Maybe you did configure displayListCatHeader.

- Franz


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