[TYPO3-english] tt_news search templates order
Victor Livakovsky
v-tyok at mail.ru
Wed May 13 01:14:23 CEST 2009
Great! Thank you for such easy and elegant solution! :)
StephenBungert wrote:
> Put two tt_news instances on the search results page of type SEARCH.
>
> Use seperate templates, make the first instance use just a template that
> only has TEMPLATE_LIST in
> and make the second instance use a template with just TEMPLATE_SEARCH in.
>
>
> Victor Livakovsky wrote:
>
>> Hi, List.
>>
>> I'm trying to modify tt_news extension, but can't see, how can I change
>> the order of search templates appearing at FE?
>>
>> First goes ###TEMPLATE_SEARCH###, and after that comes
>> ###TEMPLATE_LIST### or ###TEMPLATE_SEARCH_EMPTY###. But, what if I want
>> to show search form at the bottom of search results?
>>
>> I've changed the code of class.tx_ttnews.php, but I don't like this way :(
>> Does anyone have an idea for more 'clean' way?
>>
>> Thank you in advance.
>>
More information about the TYPO3-english
mailing list