Hello,
How do i get the search module to show search results preview on the results page.
At the moment, the results are shown like so:
Search Results For "gallery"
Gallery (100%)
Videos (82%)
I'd like it to be displayed as:
Search Results For "gallery"
Gallery (100%)
This gallery has some bla bla bla.
Videos (82%)
The video gallery contains bla bla bla.
How do i do this?
The current template info is:
-----------------------------------------------------
{$searchresultsfor} "{$phrase}"
{if $itemcount > 0}
{foreach from=$results item=entry}
{$entry->title} - url}">{$entry->urltxt}({$entry->weight}%)
{*
You can also instantiate custom behaviour on a module by module basis by looking at
the $entry->module and $entry->modulerecord fields in $entry
ie: {if $entry->module == 'News'}{News action='detail' article_id=$entry->modulerecord detailpage='News'}
*}
{/foreach}
{else}
{$noresultsfound}
{/if}
------------------------------------------------------
Thanks.
Search Results Preview
Search Results Preview
Peace & Love
--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}
web design london
--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}
web design london
Re: Search Results Preview
Is this not possible then 

Peace & Love
--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}
web design london
--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}
web design london
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: Search Results Preview
Hi did you ever get this to work? I am also trying to achieve the same thing using the {search} results... to display a preview of the page initial content ( a line or two)... thanks