fintan sheehan
|
Tuesday 20 November 2007 4:13:18 am
Hello,
I wish to force advancedsearch.tpl override to use "all words" search only. What variables in fetch below are used to differentiate between "all word' or "phrase" searches.
{set search=fetch(content,search,
hash(text,$search_text,
section_id,$search_section_id,
subtree_array,$search_sub_tree,
class_id,$search_contentclass_id,
class_attribute_id,$search_contentclass_attribute_id,
offset,$view_parameters.offset,
publish_date,$search_date,
limit,$page_limit))}
{set search_result=$search['SearchResult']}
{set search_count=$search['SearchCount']}
{set stop_word_array=$search['StopWordArray']} {set search_data=$search} Can the variable below such as $full_search_text be passed to "fetch(content,search...." <input class="box" type="text" size="40" name="SearchText" value="{$full_search_text|wash}" /> <input class="box" type="text" size="40" name="PhraseSearchText" value="{$phrase_search_text|wash}" />
<input class="box" type="text" size="40" name="AnyWordSearchText" value="" /> </div>
Thanks, Fintan
|