znecart 用户体验插件

1:add this 插件

2:RSS插件

相应代码。
为Zen Cart网站增添Add This功能,可以把网页提交给各搜索引擎,其代码如下:
<script type=”text/javascript”>var addthis_pub = “Wang15109133″;</script>
<a href=” http://www.addthis.com/bookmark.php” onMouseOver=”return addthis_open(this, ”,
‘[URL]‘, ‘[TITLE]‘)” onMouseOut=”addthis_close()” onClick=”return addthis_sendto()”
rel=”nofollow”><img src=” http://s7.addthis.com/addthis16.gif” width=”16″ height=”16″
border=”0″ alt=”" /></a><script type=”text/javascript”
src=” http://s7.addthis.com/js/152/addthis_widget.js”></script>
放到模板下common里的tpl_footer.php最末端。
另附RSS代码:
<a href=” http://www.YOURDOMAIN.com/index.php?main_page=rss_feed&amp;feed=new_products” title=”RSS New Products Feed” target=”_blank”><img src=”includes/templates/classic/images/rss.gif” alt=”RSS New Products Feed” title=” RSS New Products Feed ” width=”16″ height=”16″ /></a>
RSS代码可以与Add This代码放一起。

posted @ 2011-11-21 13:27  小2010  阅读(372)  评论(0编辑  收藏  举报