[Typo3-shop] Crop text of the products in list view
Franz Holzinger
franz at fholzinger.com
Mon Dec 19 09:34:19 CET 2005
Hello Jernej,
>
> 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.
>
> Can I even do that in an old version like that ? That would be great.
You need tt_products 2.0.0 or higher for this.
Set
plugin.tt_products.max_note_length = 200
And to have special settings for the single view page, you have to
create a special single view page with 'Products: single view' selected.
You cannot use single and list view on the same page when you need
different TypoScript settings for them.
Set
plugin.tt_products.max_note_length = 2000
in a special template for the single view.
Franz
More information about the TYPO3-project-tt-products
mailing list