emlog插件 Sdx分享文章插件2.0
首先声明,本插件是在原小鱼分享插件部分功能出现故障的基础上进行修复和修改的。 通过a标签,输出分享链接。使用教程:
1.下载插件,安装插件后,打开插件
2.需要添加分享功能的地方,添加如下代码,
例如,在模板文件夹的 echo_log.php 文件夹中的相应位置添加代码。 在文章页面的相应位置
<p>分享:
<a href="<?php doAction('share_qq', $logData ); ?>"target="_blank">分享到QQ</a>
<a href="<?php doAction('share_qzone', $logData ); ?>"target="_blank">分享到Qzone</a>
<a href="<?php doAction('share_wb', $logData ); ?>"target="_blank">分享到微博</a>
</p>
复制代码
(First of all, it is stated that this plug-in is repaired and modified based on the failure of some functions of the original Xiaoyu sharing plug-in. Output the sharing link through the a tag.Using the tutorial:1. Download the plug-in. After installing the plug-in, open the plug-in2. Where the sharing function needs to be added, add the following code,For example, echo in the template folder_ log. Add code to the appropriate location in the PHP folder. In the corresponding position of the article page<p>Share:< a href = "<? PHP DoAction ('share_qq ', $logdata);? >" target = "_blank" > share with QQ</a>< a href = "<? PHP DoAction ('share_qzone ', $logdata);? >" target = "_blank" > share with Qzone</a>< a href = "<? PHP DoAction ('share_wb ', $logdata);? >" target = "_blank" > share on Weibo</a>The</p>Copy code)
页:
[1]