Index: ext_typoscript_setup.txt =================================================================== --- ext_typoscript_setup.txt (revision 5779) +++ ext_typoscript_setup.txt (working copy) @@ -49,6 +49,13 @@ skipExtendToSubpagesChecking = 0 exactCount = 0 } + #resultrow parameters + results{ + #summaryMax=300 + #postPreLgd=60 + #postPreLgd_offset=6 + #divider= ...  + } result_link_target = /* Index: pi/class.tx_indexedsearch.php =================================================================== --- pi/class.tx_indexedsearch.php (revision 5779) +++ pi/class.tx_indexedsearch.php (working copy) @@ -1961,6 +1961,11 @@ } if (!trim($markedSW)) { + if(isset($this->conf['results.'])){ + if(isset($this->conf['results.']['summaryMax']) && t3lib_div::testInt($this->conf['results.']['summaryMax'])){ + $lgd=$this->conf['results.']['summaryMax']; + } + } $outputStr = $GLOBALS['TSFE']->csConvObj->crop('utf-8',$row['item_description'],$lgd); $outputStr = htmlspecialchars($outputStr); } @@ -2000,6 +2005,20 @@ $postPreLgd_offset = 5; $divider = ' ... '; + if(isset($this->conf['results.'])){ + if(isset($this->conf['results.']['summaryMax']) && t3lib_div::testInt($this->conf['results.']['summaryMax'])){ + $summaryMax=$this->conf['results.']['summaryMax']; + } + if(isset($this->conf['results.']['postPreLgd']) && t3lib_div::testInt($this->conf['results.']['postPreLgd'])){ + $postPreLgd=$this->conf['results.']['postPreLgd']; + } + if(isset($this->conf['results.']['postPreLgd_offset']) && t3lib_div::testInt($this->conf['results.']['postPreLgd_offset'])){ + $postPreLgd_offset=$this->conf['results.']['postPreLgd_offset']; + } + if(isset($this->conf['results.']['divider'])){ + $divider=$this->conf['results.']['divider']; + } + } $occurencies = (count($parts)-1)/2; if ($occurencies) { $postPreLgd = t3lib_div::intInRange($summaryMax/$occurencies,$postPreLgd,$summaryMax/2);