묻고답하기
통합검색창에서..
2008.01.28 09:38
왕초보입니다. ㅠㅠ
통합검색의 선택하는 부분이 '제목'으로 되어 있는데...
'제목+내용'으로 기본설정되게 할 수 없나요 ?
알려주세요 ㅠㅠ
댓글 4
-
김기상
2008.01.28 13:14
-
대암지기
2008.01.28 17:53
xe_official 레이아웃을 쓰신다고 가정하고 말씀드리면
zbxe설치폴더/layouts/xe_official/layout.html
line 55 ~56
<input name="search_target" type="radio" value="title" id="search_target" class="searchOrder" checked="checked" title="search option" />
<label for="search_target" class="checked" id="search_target_label" onclick="showHide('selectOrder'); return false">{$lang->title}</label>
을 아래의 것으로 바꾸시면 됩니다.
<input name="search_target" type="radio" value="title_content" id="search_target" class="searchOrder" checked="checked" title="search option" />
<label for="search_target" class="checked" id="search_target_label" onclick="showHide('selectOrder'); return false">{$lang->title}+{$lang->content}</label> -
dobonginfo
2008.01.29 11:15
안됩니다. ㅠㅠ
그렇게 하면 제목+내용 이렇게 보여지게 되는건가요 ?
안되는데.. ㅠㅠ -
좀비이
2008.01.31 14:56
<form action="{getUrl()}" method="post" id="isSearch">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="act" value="IS" /><input name="search_target" type="radio" value="title_content" id="search_target" class="searchOrder" checked="checked" title="search option" />
<label for="search_target" class="checked" id="search_target_label" onclick="showHide('selectOrder'); return false">{$lang->title}+{$lang->content}</label>
<ul id="selectOrder">
<li>
<input type="radio" name="search_target" value="title" id="search_target1" />
<label for="search_target1" onclick="chkIsKind(1, '{$lang->title}'); return false;" onmouseover="this.className='on'" onmouseout="this.style.background='none'">{$lang->title}</label>
</li>
<li>
<input type="radio" name="search_target" value="content" id="search_target2" />
<label for="search_target2" onclick="chkIsKind(2, '{$lang->content}'); return false;" onmouseover="this.className='on'" onmouseout="this.style.background='none'">{$lang->content}</label>
</li>
<li>
<input type="radio" name="search_target" value="title_content" id="search_target3" />
<label for="search_target3" onclick="chkIsKind(3, '{$lang->title}+{$lang->content}'); return false;" onmouseover="this.className='on'" onmouseout="this.style.background='none'">{$lang->title}+{$lang->content}</label>
</li>
<li>
<input type="radio" name="search_target" value="comment" id="search_target4" />
<label for="search_target4" onclick="chkIsKind(4, '{$lang->comment}'); return false;" onmouseover="this.className='on'" onmouseout="this.style.background='none'">{$lang->comment}</label>
</li>
<li>
<input type="radio" name="search_target" value="tag" id="search_target5" />
<label for="search_target5" onclick="chkIsKind(5, '{$lang->tag}'); return false;" onmouseover="this.className='on'" onmouseout="this.style.background='none'">{$lang->tag}</label>
</li>
</ul>
<input name="is_keyword" type="text" class="inputText" title="keyword" /><input type="image" src="./images/{$layout_info->colorset}/buttonSearch.gif" alt="{$lang->cmd_search}" class="submit" />
</form>
이걸 그냥 코피해서넣구 해보세요 요구하시는것이 이런건지 도움이 되실지 모르겠네요
저와 똑같은 질문이군요.
저도 제목+내용이 기본으로 되어야 하는데,
꼭 부탁드립니다.