묻고답하기
제발 검색창에 ''제목+내용'' 이렇게 기본으로 나오게 해주세요 ㅠㅠ
2008.01.31 21:47
왕초보입니다. ㅠㅠ
통합검색의 선택하는 부분이 '제목'으로 되어 있는데...
'제목+내용'으로 기본설정되게 할 수 없나요 ?
알려주세요 ㅠㅠ
님들이 답변을 감사희 주셔서 아래와 같이 해 보았는데 안되요..
------------------------------------------------------
대암지기
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>
아래 올려주신분은 어디다 넣으라는건지 잘 모르겠어요 ㅠㅠ
-------------------------------------------------------
좀비이
<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>
이걸 그냥 코피해서넣구 해보세요 요구하시는것이 이런건지 도움이 되실지 모르겠네요