winboss 发表于 2015-5-8 23:31:51

特殊标签

http://bbs.dbshop.net/data/attachment/forum/201504/28/204051qbbr2xqgflb0iq0z.png

这里还是不明白啊到底 是在首页那个文件下 那里添加说清楚点嘛!template.ini文件里面吗? 看清楚我说的是 红色下面的代码 添加.

winboss 发表于 2015-5-8 23:41:00


shop_logo = "196px(width) × 90px(height)"
shop_logo_width = "196px"
shop_logo_height= "90px"
shop_ico= "32px(width) × 32px(height)"
shop_ico_width ="32px"
shop_ico_height="32px"
shop_goods= "200px(width) × 200px(height)"
shop_goods_width = "200px"
shop_goods_height = "200px"
shop_class_ico= "100px(width) × 100px(height)"
shop_class= "800px(width) × 100px(height)"
shop_brand= "160px(width) × 80px(height)"
shop_brand_width ="160px"
shop_brand_height= "80px"
shop_user_avatar="64px(width) × 64px(height)"
shop_user_avatar_width= "64px"
shop_user_avatar_height= "64px"

<?php
$index_hot_goods = $this->frontwebsite()->getTagGoodsArray('index_hot');
if ($index_hot_goods) {
        foreach ($index_hot_goods as $hot_goods_value) {
                if(!isset($hot_goods_value['one_class_id'])) continue;
?>
<li class="span2">
<a class="thumbnail" title="<?php echo $this->escapeHtml($hot_goods_value['goods_name']); ?>" href="<?php echo $this->url('frontgoods/default', array('goods_id'=>$hot_goods_value['goods_id'],'class_id'=>$hot_goods_value['one_class_id'])); ?>">
<img src="<?php echo $this->basePath($this->frontwebsite()->shopGoodsImage($hot_goods_value['goods_thumbnail_image'])); ?>" border="0"></a>
</li>
<?php } } ?>


index_new="首页珠宝特价"
index_spec="首页钻石裸石"
index_hot="首页珠宝首饰"
index_recom="首页名贵宝石"
index_caise="首页彩色宝石"
index_yushi="首页珠宝玉石"


index_footer="首页底部"


class.0="index"
classname.index="首页广告"
index.place.class_right="商品分类右侧"
index.size.class_right_image="1250(width) × 280(height)"
index.size.class_right_image_width="1250"
index.size.class_right_image_height="280"
index.place.common_down="推荐商品下面"
index.size.common_down_image="985(width) × 90(height)"
index.size.common_down_image_width="985"
index.size.common_down_image_height="90"
index.place.new_down="最新商品下面"
index.size.new_down_image="985(width) × 90(height)"
index.size.new_down_image_width="985"
index.size.new_down_image_height="90"

class.1="goodsclass"
classname.goodsclass="分类页广告"
goodsclass.place.goodslist_banner="商品列表横幅"
goodsclass.size.goodslist_banner_image="985(width) × 90(height)"
goodsclass.size.goodslist_banner_image_width="985"
goodsclass.size.goodslist_banner_image_height="90"
goodsclass.place.goodslist_leftmenu_down="商品列表左侧菜单广告"
goodsclass.size.goodslist_leftmenu_down_image="276(width)"
goodsclass.size.goodslist_leftmenu_down_image_width="276"
goodsclass.size.goodslist_leftmenu_down_image_height="0"

class.2="goods"
classname.goods="产品页广告"
goods.place.goods_info_right="品质保证下面广告"
goods.size.goods_info_right_image="360(width)"
goods.size.goods_info_right_image_width="360"
goods.size.goods_info_right_image_height="0"

这样么?如果这样 直接是后台标签 打不开首页没变化   实用的不是 小米模版
页: [1]
查看完整版本: 特殊标签