[TYPO3-shop] max_note_length different in highlights and list

Franz Holzinger franz at ttproducts.de
Tue Jul 9 21:27:54 CEST 2013


Hello Leen,

Le 09. 07. 13 13:45, Leen a écrit :
> Hi all,
>
> There is a difference in how the listview is shown and how the
> highlights and offer listview is shown.
>
> It's in the note, maybe even the note length.
>
> Here's the problem.
> In ordinary listview the note is shown with full html
> If there is a word with h1 tags it will be shown.
> Also there is the word "more" (as in read more) at the end of the line
> and there are less characters used than I configured in the constants.
>
> I would like to have all the lists in the same configuration.
>
> Does anyone have the same problem or is there someone who can help me?
>
> Kind regards Leen

this is only configured for the LIST code by default:

plugin.tt_products {

   conf.tt_products.LIST {
	field {
		note = TEXT
		note.postUserFunc = tx_pmkhtmlcrop->htmlCrop
		note.postUserFunc.htmlCrop = {$plugin.tt_products.max_note_length} | ...
	}
   }
}

You must add more codes if you want to have this feature also in other 
views.

Regards,

Franz



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