Monday 10 May 2004 9:58:05 pm
I have overriding the search.tpl by my own design by the following code
<table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
{let use_url_translation=ezini('URLTranslator','Translation')|eq('enabled')}
{section show=$search_result} {section name=SearchResult
loop=$search_result show=$search_result sequence=array(bglight,bgdark)}
<tr>
<td>{$:item.description}-<a href={$:item.url_alias|ezurl}>{node_view_gui
sequence=$:sequence view=text use_url_translation=$use_url_translation
content_node=$:item}</a> ... {$:item.url_alias}</td>
</tr>
{/section} {/section}{/let}
<tr>
<td>
{include name=Navigator uri='design:navigator/google.tpl'
page_uri=concat('/content/search') page_uri_suffix=concat('?SearchText=',$search_text|urlencode,$search_timestamp|gt(0)|choose('',concat('&SearchTimestamp=',$search_timestamp)))
item_count=$search_count view_parameters=$view_parameters
item_limit=$page_limit} </td>
</tr>
</table> But still my result view is very awfull. I also want to display the description.
While if you see the test demo of News at http://demo.ezpublish.no/news/content/search?SearchText=new&SearchButton=Search It looks very attractive with whole detail. I have check the sample code but can't generate the same look. Please Help me.
Muhammad Khalid
Software Engineer
www.webgurru.net
|