[Typo3-shop] enable max_note_length

Franz Holzinger franz at fholzinger.com
Mon Aug 1 21:54:54 CEST 2005


Hello Stefan Beylen,


> 
> has anyone got an idea how to enable this feature so that the 
> description text gets cropped in the list view?
> 
> help appreciated! thx!
> 

the note field should already be cutted:

// cuts note in list view
if (strlen($markerArray['###PRODUCT_NOTE###']) > 
$this->conf['max_note_length'])
								$markerArray['###PRODUCT_NOTE###'] = 
substr($markerArray['###PRODUCT_NOTE###'], 0, 
$this->conf['max_note_length']) . '...';


So you have to configure max_note_length .


Franz







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