[FEATURE] Make hardcoded parameters configurable via TS
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / Configuration / TypoScript / setup.txt
1 config.index_enable = 1
2 config.index_externals = 1
3 config.index_metatags = 1
4
5 # Plugin configuration
6 plugin.tx_indexedsearch {
7
8 settings {
9
10 # show the rules
11 displayRules = 1
12
13 # show a link to the advanced search
14 displayAdvancedSearchLink = 1
15
16 # show the number of results
17 displayResultNumber = 0
18
19 breadcrumbWrap = / || /
20
21 # show the parse times
22 displayParsetimes = 0
23 displayLevel1Sections = 1
24 displayLevel2Sections = 0
25 displayLevelxAllTypes = 0
26 clearSearchBox = 0
27 clearSearchBox.enableSubSearchCheckBox = 1
28 displayForbiddenRecords = 0
29 alwaysShowPageLinks = 1
30 mediaList =
31
32 #search.rootPidList
33 rootPidList =
34 page_links = 10
35 detectDomainRcords = 0
36 defaultFreeIndexUidList =
37 searchSkipExtendToSubpagesChecking = 0
38 exactCount = 0
39 forwardSearchWordsInResultLink = 0
40
41 # various crop/offset settings for single result items
42 results {
43 titleCropAfter = 50
44 titleCropSignifier = ...
45 summaryCropAfter = 180
46 summaryCropSignifier =
47 hrefInSummaryCropAfter = 60
48 hrefInSummaryCropSignifier = ...
49 markupSW_summaryMax = 300
50 markupSW_postPreLgd = 60
51 markupSW_postPreLgd_offset = 5
52 markupSW_divider = ...
53 markupSW_divider.noTrimWrap = | | |
54 }
55
56 # Blinding of option-selectors / values in these (advanced search)
57 blind {
58 searchType = 0
59 defaultOperand = 0
60 sections = 0
61 freeIndexUid = 1
62 mediaType = 0
63 sortOrder = 0
64 group = 0
65 languageUid = 0
66 desc = 0
67 numberOfResults = 0
68 # defaultOperand.1 = 1
69 # extResume=1
70 }
71 /*
72 flagRendering = CASE
73 flagRendering {
74 key.current = 1
75 2 = TEXT
76 2.value = German
77 default = TEXT
78 default.value = English
79 }
80
81 iconRendering = CASE
82 iconRendering {
83 key.current = 1
84 html = TEXT
85 html.value = HtmL
86 default = TEXT
87 default.value = TYPO3 pages
88 }
89
90 specialConfiguration {
91 0.pageIcon = IMAGE
92 0.pageIcon.file = typo3/sysext/indexed_search/Resources/Public/Icons/FileTypes/pages.gif
93 1.pageIcon = IMAGE
94 1.pageIcon.file = typo3/sysext/indexed_search/Resources/Public/Icons/FileTypes/pdf.gif
95 }
96 */
97 defaultOptions {
98 defaultOperand = 0
99 sections = 0
100 freeIndexUid = -1
101 mediaType = -1
102 sortOrder = rank_flag
103 languageUid = -1
104 sortDesc = 1
105 searchType = 1
106 }
107
108 }
109
110
111 view {
112 templateRootPath = {$plugin.tx_indexedsearch.view.templateRootPath}
113 partialRootPath = {$plugin.tx_indexedsearch.view.partialRootPath}
114 layoutRootPath = {$plugin.tx_indexedsearch.view.layoutRootPath}
115 }
116
117 }