destoon 将品牌单选改成多选

1970-01-01 08:00:00 38 0 来源:智智云

品牌将单选改成多选涉及的内容有:品牌首页显示,列表页显示,后台列表页显示,后台品牌添加修改的模板和php文件,会员中心的模板和php文件

1、品牌首页显示

添加:/destoon/template/default/tag/thumb-brand2.htm

修改:/destoon/template/default/brand/index.htm

 

<div class="box_body thumb">   <!--{tag("moduleid=$moduleid&condition=status=3 and catids like  '%,".$c[catid].",%' & &areaid=$cityid&pagesize=".$MOD[page_icat]."&order=".$MOD[order]."&width=120&height=40&cols=2&target=_blank&lazy=$lazy&template=thumb-brand2")}-->

</div>

2、品牌列表显示

修改/destoon/module/brand/list.inc.php

以下代码:

//$condition .= ($CAT['child']) ? " AND catid IN (".$CAT['arrchildid'].")" : " AND catid=$catid";

 

$condition .=  " AND catids  like ('%,".$catid.",%')";

 

3、搜索功能修改

/destoon/module/brand/search.inc.php

 

4、

品牌后台列表

添加/wanqi/wq/cescn/module/brand/brand.class.php

将原为的brand.class.php备份为brand2.class.php

 

5、后台添加,修改

/destoon/module/brand/admin/template/edit.tpl.php

/destoon/module/brand/admin/index.inc.php

6、会员中心

/destoon/template/default/member/my_brand.htm

/destoon/module/brand/my.inc.php

/destoon/file/script/profile.js


我们猜你喜欢
X

截屏,微信识别二维码

客服QQ:406784192

QQ号已复制,请打开微信添加咨询详情!