[TYPO3-core] possibility to hide the results when results are show (indexed_search)

Michael Stucki michael at typo3.org
Thu Aug 24 20:04:19 CEST 2006


Hi Martin,

>> However, please change the name of the key from
>> 
>> $conf['hide.']['rulesForResults'] to
>> $conf['show.']['rulesForResults']
>> 
>> The simple reason for this is that there is no 'hide.' property yet and
>> having both 'show.' and 'hide.' seems confusing to me.
> 
> But then we'd have show.rules and show.rulesForResults. This is also
> confusing and is the reason why I didn't do it that way. I'll think of
> another feature to justify the hide. :-)

What about this?=

show.rules = 1 => show only if there are no search words
show.rules = 2 => show always

>> I suggest you change this and even turn it off by default.
> [snip]
>  > So please add the new key to ext_typoscript_setup.txt using the default
> value "0".
> 
> Shall I move the setup to pi/static while I'm at it?

For 4.1 yes, why not. But make sure to mark it with three !!! in the
ChangeLog (not only in the indexed_search ChangeLog but also in the main
one).

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list