[FEATURE] Make hardcoded parameters configurable via TS 97/20197/7
authorRalf Hettinger <ng@ralfhettinger.de>
Fri, 26 Apr 2013 17:33:35 +0000 (19:33 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 8 Oct 2015 05:05:37 +0000 (07:05 +0200)
commit425b21a4822bfbfae12acd07be463a1d8a96dec5
tree8cb82ffe5ad86fcf72c85c7e46dd41bbfd168741
parent7e1883264f00aa942534b06859a3c4ae3d14e25e
[FEATURE] Make hardcoded parameters configurable via TS

The following TS properties now configure former php defined parameters:
[plugin.tx_indexedsearch.results.]
* titleCropAfter = 50
* titleCropSignifier = ...
* summaryCropAfter = 180
* summaryCropSignifier =
* hrefInSummaryCropAfter = 60
* hrefInSummaryCropSignifier = ...
* markupSW_summaryMax = 300
* markupSW_postPreLgd = 60
* markupSW_postPreLgd_offset = 5
* markupSW_divider = ...
Every TS property has the stdWrap property, too.
Default settings do not change old behaviour.

Resolves: #20875
Releases: master
Change-Id: I01f4807cab208631233bf219dd987ba69da61344
Reviewed-on: http://review.typo3.org/20197
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Documentation/Changelog/master/Feature-20875-MakeHardcodedIndexedSearchParametersConfigurableViaTS.rst [new file with mode: 0644]
typo3/sysext/indexed_search/Classes/Controller/SearchController.php
typo3/sysext/indexed_search/Classes/Controller/SearchFormController.php
typo3/sysext/indexed_search/Configuration/TypoScript/setup.txt
typo3/sysext/indexed_search/ext_typoscript_setup.txt