如何添加“分享到”边栏式按钮代码

2020-12-01 10:00

俺想在网站添加一个 “分享” 功能,比如 jiathis,请问如何添加“分享到”边栏式按钮代码在网站上呢?谢谢!

2370 次浏览 2 条评论 收藏

说说我的看法

登录后可以发表评论 登录
2个评论
-- 楼主 2020-12-01 10:00
Lee 发表于 2013-10-12 08:27 static/image/common/back.gif
修改模板文件,直接将分享代码放在模板文件里,例如放在:block_footer.tpl页上 ...


谢谢!找到 user/block_footer.tpl 文件,添加了 jiathis 代码,但是没有效果,不知道是否加错了。请 Lee 师傅指点指点!{:soso_e100:}{:soso_e183:}


<div class=\"user_footer\">

<!-- JiaThis Button BEGIN -->
<div class=\"jiathis_style_24x24\">
        <a class=\"jiathis_button_qzone\"></a>
        <a class=\"jiathis_button_tsina\"></a>
        <a class=\"jiathis_button_weixin\"></a>
        <a class=\"jiathis_counter_style\"></a>
</div>
<script type=\"text/javascript\" src=\"http://v3.jiathis.com/code/jia.js?uid=undefined\" charset=\"utf-8\"></script>
<!-- JiaThis Button END -->


  <!--{$config.sitefooter}-->
</div>



<!--//user_footer End-->
<!--{include file=\"<!--{$uctplpath}-->block_popwin.tpl\"}-->
回复
Lee 官方认证帐号 2020-12-01 10:00
修改模板文件,直接将分享代码放在模板文件里,例如放在:block_footer.tpl页上
回复
作者信息

3
贴子
0
粉丝
热门贴子

免费试用


咨询热线


在线咨询