[Typo3-shop] Crop text of the products in list view
Jernej Zorec
jernejz at gmail.com
Sun Dec 18 15:25:01 CET 2005
I think that you are suggesting to modify the source code of tt_products.
That's exactly what I can't do.
Remember that this ext is used by another pages. So I can't edit
the code of tt_products, because it is installed globaly.
I think that the solution is something like this:
1) somehow modify the output in typoscript template
2) or making a new extension which extends already existing extension
tt_products. This ext would then be installed locally just for the page
that I need.
Problem is that I don't know how to do neither of these :).
Lp, Jernej
Rainer (Rene) Suthoelder wrote:
> 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