这是模版原来的搜索样式及链接
························································
找到个js代码实现表单提交功能的代码
function formSubmit(){
document.getElementById("scbar_form").submit()
}
·····················································
head加上
function formSubmit(){
document.getElementById("scbar_form").submit()
}
这是修改后的搜索样式及链接
如果搜索页面再搜索,路径是 /search/search?keyword=11,
或者一级目录、二级目录下搜索路径都不对,这样的话,
就把
里面的action="search"修改为action="{$=ii_get_actual_route('search')}"这样不管是在哪个页面搜索,路径都不会错的。