功能:获取分类信息的地区和小分类搜索的表单,本标签需要在分类信息模型下使用
语法:
1{dede:infoguide}02<form name='infoguide' method='get' action='/plus/list.php'>03  [field:nativeplace /]04  [field:infotype /]05  <input type='hidden' name='tid' value='[field:typeid /]' />06  <input type='hidden' name='channelid' value='-8' />07  <span class='infosearchtxt'>关键字:</span><span>08  <input type='text' name='keyword' value='' class="ipt-txt" />09  </span>   10  <input type='submit' value='搜索信息' class="btn-2"style='cursor:pointer' />11   12  <input type='button' value='发布信息' class="btn-2"   onclick="location='/member/archives_sg_add.php?channelid=-8';"   style='cursor:pointer' />13</form>14{/dede:infoguide}文件:
/include/taglib/infoguide.lib.php
function lib_infoguide(&$ctag,&$refObj)
默认底层模板:
info_guide.htm
参数:
无
底层字段:
nativeplace,infotype,typeid
范例:
可以查看分类信息页面模板list_info.htm文件。

如果本文对你有帮助,欢迎打赏本站

支付宝扫码打赏
微信扫码打赏
 
 
 
 