[Typo3-shop] Crop text of the products in list view

Rainer (Rene) Suthoelder t3 at boswel-remove-me.de
Sun Dec 18 15:04:13 CET 2005


Jernej Zorec wrote:

> What is the easieast way to crop text to 200 chars when more products
> are shown in the LIST mode ?
>
> Example:
> index.php?id=123 <-- this is the page with more products shown
> at the same time, so I want to crop
> text (note) of each product
> to first 200 chars
>
> index.php?id=123&tt_products=44
> <-- here only one product is shown and I want
> to have full text
>
> Note that this is both on the same page and with the same plugin in
> LIST mode. I'm using version 1.2.7 of the tt_products.

should be easy to achieve that. introducs a new config variable like 
"cropListItemDescription" and set it to the desired value and then simply 
modify the list view to display only "cropListItemDescription" chars...

rainer 





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