Extra Form
PHP PHP 7.0
CMS XpressEngine1

메뉴게시판 에서 상단에 통합 검색 박스를 넣어서 이용하고 싶은데 어떻해 해야 할지 모르겠습니다 

 

도와주세요  

 

테스트.jpg

 ↡ ↡ ↡ ↡ ↡ ↡ ↡ ↡ ↡ ↡ ↡ ↡ ↡ ↡ ↡ ↡ ↡ ↡  위 기본 상태 에서  변경 하고 싶은 방법 이미지 입니다

 

테스트1.jpg

 

  • profile
    디자인은 하지 못하더라도 기본적인 통합검색에 사용되는 코드는 다른레이아웃들을 참고해서 이렇게 사용하실 수 있습니다.

    <form class="navbar-form navbar-left" action="{getUrl()}" method="get" cond="$li->navbar_search=='Y2'">
    <input type="hidden" name="vid" value="{$vid}" />
    <input type="hidden" name="mid" value="{$mid}" />
    <input type="hidden" name="act" value="IS" />
    <input type="text" name="is_keyword" value="{$is_keyword}" placeholder="{$lang->ss_enter_to_search}" class="form-control" style="max-width:150px" />
    <button type="submit" class="sr-only btn btn-{$colorset} btn-block"><i class="fa fa-search" aria-hidden="true"></i> {$lang->cmd_search}</button>
    </form>

    클래스명이나 그런건 알아서 적절하게 쓰셔서 디자인하십쇼

    출처 : https://github.com/wincomi/xe-simplestrap/blob/master/layouts/simplestrap/_layout.html#L59-L65
  • ?

    답변감사합니다 초보라서  부탁 드림니다 어느 경로에 어디에다가 넣어야 하는것도 좀 알려주세요

  • ? profile
    개시판 스킨 폴더에 있는 list.html 파일 최상단쯤에 넣으면 좋을 것 같은데요.
  • ? profile
    모든 메뉴마다 넣으려면 layout.html 파일에 넣으셔야하구요