title: Display specific category products on no results search page
body: <p>When we search for a wrong keyword like "sdfsdf" in magento site, it displays that "your search returns no results". Here I want to display any category products like "similar products" category as we display "best sellers" on home page. I have tried by calling the block in the catalogsearch.xml. BUt catalogsearch.xml doent contain any block for no results. So how can I display any category products on no results page.</p>
  
  <p>I have an idea like can we display a specific category products on .phtml page? If we can display specific category of products then we can call that category from "result.phtml". Any help?</p>
  
  <p>my result.phtml</p>
  
  <pre><code>&lt;?php if($this-&gt;getResultCount()): ?&gt;
  &lt;?php echo $this-&gt;getMessagesBlock()-&gt;getGroupedHtml() ?&gt;
  &lt;div class="page-title category-title"&gt;
      &lt;?php if ($this-&gt;helper('rss/catalog')-&gt;getTagFeedUrl()): ?&gt;
          &lt;a href="&lt;?php echo $this-&gt;helper('rss/catalog')-&gt;getTagFeedUrl() ?&gt;" class="nobr link-rss"&gt;&lt;?php echo $this-&gt;__('Subscribe to Feed') ?&gt;&lt;/a&gt;
      &lt;?php endif; ?&gt;
      &lt;h1&gt;&lt;?php echo ($this-&gt;getHeaderText() || $this-&gt;getHeaderText() === false) ? $this-&gt;getHeaderText() : $this-&gt;__("Search results for '%s'", $this-&gt;helper('catalogsearch')-&gt;getEscapedQueryText()) ?&gt;&lt;/h1&gt;
  &lt;/div&gt;
      &lt;?php if ($messages = $this-&gt;getNoteMessages()):?&gt;
      &lt;p class="note-msg"&gt;
          &lt;?php foreach ($messages as $message):?&gt;
              &lt;?php echo $message?&gt;&lt;br /&gt;
          &lt;?php endforeach;?&gt;
      &lt;/p&gt;
      &lt;?php endif; ?&gt;
      &lt;?php echo $this-&gt;getProductListHtml() ?&gt;
  &lt;?php else: ?&gt;
  &lt;div class="page-title category-title"&gt;
      &lt;h1&gt;&lt;?php echo ($this-&gt;getHeaderText() || $this-&gt;getHeaderText() === false) ? $this-&gt;getHeaderText() : $this-&gt;__("Search results for '%s'", $this-&gt;helper('catalogsearch')-&gt;getEscapedQueryText()) ?&gt;&lt;/h1&gt;
  &lt;/div&gt;
  &lt;p class="note-msg"&gt;
      &lt;?php echo ($this-&gt;getNoResultText()) ? $this-&gt;getNoResultText() : $this-&gt;__('Your search returns no results.') ?&gt;
      &lt;?php if ($messages = $this-&gt;getNoteMessages()):?&gt;
          &lt;?php foreach ($messages as $message):?&gt;
          &lt;br /&gt;&lt;?php echo $message?&gt;
          &lt;?php endforeach;?&gt;
  
      &lt;?php endif; ?&gt;
   &lt;/p&gt;
  &lt;div class="search-noresults"&gt;
  &lt;h1&gt;Meanwhile, You may go through our featured categories:&lt;/h1&gt;  
  &lt;/div&gt;
  &lt;?php echo $this-&gt;getLayout()-&gt;CreateBlock('catalog/product_list')-&gt;setCategoryId(18)-&gt;setTemplate('catalog/product/list.phtml')-&gt;toHtml();?&gt;
  
  &lt;?php endif; ?&gt;
  </code></pre>