Is it possible to integrate the search results template more deeply into a page template? For example, I want the {$searchresultsfor} “{$phrase}” display as page title (i. e. as replacement for {title} in the page template).
A simple illustration:
Code: Select all
<!-- page template -->
<h2>{title}</h2>
{* content tag comes here, displaying the results template *}
↓
<!-- results template starts -->
<h3>{$searchresultsfor} „{$phrase}“</h3>
{if $itemcount > 0}
…
…
This is how it currently works and I want the heading of the results template as page title/heading.
How would I accomplish that?