[TYPO3-Solr] Cropping content in results teaser

Ingo Renner ingo at typo3.org
Fri Nov 12 00:17:17 CET 2010


Marcus Schwemer wrote:

Hi Marcus,

> I would like to crop the text in result teaser, so that not the complete
> content of the page is displayed. I remember that i read something about
> it, but I cannot find it any more.

You can use the crop view helper for that:

###CROP:###RESULT_DOCUMENT.CONTENT###|length###

(should be something like this)

> P.S.: TYPO3 Solr rocks :-)


thanks and all the best
Ingo


-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2



More information about the TYPO3-project-solr mailing list