标签:module lists span 模板文件 hpc template 文件 cms ==
一、\phpcms\modules\wap\index.php 的lists方法,修改最后一句为
if($catid == 6){ include template(‘wap‘, ‘category_brand‘); }elseif($catid == 10){ include template(‘wap‘, ‘category_product‘); }elseif($catid == 7 || $catid == 8 || $catid == 9){ include template(‘wap‘, ‘list_brand‘); }elseif($catid == 11 || $catid == 12){ include template(‘wap‘, ‘list_product‘); }elseif($catid == 13){ include template(‘wap‘, ‘list_new‘); }
二、\phpcms\modules\wap\index.php 的show方法,修改最后一句为
if($catid == 6){ include template(‘wap‘, ‘show_brand‘); }elseif($catid == 10){ include template(‘wap‘, ‘show_product‘); }elseif($catid == 7 || $catid == 8 || $catid == 9){ include template(‘wap‘, ‘show_brand‘); }elseif($catid == 11 || $catid == 12){ include template(‘wap‘, ‘show_product‘); }elseif($catid == 13){ include template(‘wap‘, ‘show_new‘); }
三、新增对应名字的模板文件
标签:module lists span 模板文件 hpc template 文件 cms ==
原文地址:http://www.cnblogs.com/tpshop/p/7874843.html