找回密码
 立即注册
搜索
查看: 4037|回复: 1

特殊标签

[复制链接]
发表于 2015-5-8 23:31:51 | 显示全部楼层 |阅读模式


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

使用道具 举报

 楼主| 发表于 2015-5-8 23:41:00 | 显示全部楼层
[image_size]
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 } } ?>

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

[article_tag_type]
index_footer="首页底部"

[ad]
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"

这样么?如果这样 直接是  后台标签 打不开  首页没变化   实用的不是 小米模版
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|北京珑大钜商科技有限公司 ( 京ICP备15047709号-3 )

GMT+8, 2024-11-24 10:55 , Processed in 0.055890 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表