<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

织梦选择特定的栏目搜索技巧

时间:2020-12-21

针对企业网站,特别是很多产品类别的企业网站,需要对栏目类别进行选项搜索。dede建企业站很多人遇到的问题也就是企业网站中的产品类型太多。客户需要选择栏目类别进行定点搜索;那么这样的dede标签怎么写呢?下面我们来看看一个客户的案列是怎么写的吧。

<form action="{dede:field name='phpurl'/}/search.php" name="formsearch">
        <div class="form">
           <input type="hidden" name="kwtype" value="0" />
           <input name="keyword" type="text" class="search-keyword" id="search-keyword" />
 <select name="typeid" class="search-option" id="typeid">    <option value='0' selected='1' class="search-xl">全部栏目</option>   {dede:channelartlist typeid='top' }   {dede:type} <option value='[field:id/]'>[field:typename/]</option>{/dede:type}   {dede:channel type='son' noself='yes'}   <option value='[field:id/]'>-[field:typename/]</option>   {/dede:channel}   {/dede:channelartlist}   </select>

          <button type="submit" class="search-submit">站内搜索</button>

        </div>
        </form>

上面的标签使用到了channelartlist ;他可以调用出顶级栏目和子栏目;这个搜索的样式如下图: dede栏目搜索标签

 

dede建站
0
首页
案例
关于
联系