代码拉取完成,页面将自动刷新
后台系统设置系指在后台界面进行的设置,
社会化分享代码,推荐使用百度分享代码;需要自定义设置可以使用下列JS变量pageTitle
,pageUrl
,pageImage
,pageDomain
,pageId
;ID请修改为自己的
<div class="bdsharebuttonbox">
<a href="#" class="bds_more" data-cmd="more"></a>
<a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
<a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
<a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
<a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a>
<a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a>
</div>
<script>
window._bd_share_config={
"common":{
"bdSnsKey":{},
"bdText":"",
"bdMini":"2",
"bdMiniList":false,
"bdPic":pageImage,
"bdStyle":"0",
"bdSize":"32"
},
"share":{},
"image":{
"viewList":["weixin","tsina","qzone","tqq","renren"],
"viewText":"分享到:",
"viewSize":"16"
},
"selectShare":{
"bdContainerClass":null,
"bdSelectMiniList":["weixin","tsina","qzone","tqq","renren"]
}
};
with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>
社会化评论代码,推荐使用友言,畅言(需要备案);自定义时可以使用与分享相同的变量;UID请修改为自己的
<div id="uyan_frame"></div>
<script >
var uyan_config = {
'title':pageTitle,
'pic': pageImage,
'du': pageDomain,
'su': pageId
};
</script>
<script type="text/javascript" src="http://v2.uyan.cc/code/uyan.js?uid=93072"></script>
多说评论代码:
<!-- 多说评论框 start -->
<div class="ds-thread" id="ds-panel"></div>
<!-- 多说评论框 end -->
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
var duoshuoQuery = {short_name:"sinmh"}; // 此处请修改为自己的多说二级域名
(function() {
var dsPanel = document.getElementById('ds-panel');
dsPanel.setAttribute ('data-thread-key',pageId);
dsPanel.setAttribute('data-title',pageTitle);
dsPanel.setAttribute('data-url',pageUrl);
var ds = document.createElement('script');
ds.type = 'text/javascript';ds.async = true;
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
|| document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
<!-- 多说公共JS代码 end -->
畅言评论代码:
<!--PC版-->
<div id="SOHUCS"></div>
<script charset="utf-8" type="text/javascript" src="http://changyan.sohu.com/upload/changyan.js" ></script>
<script type="text/javascript">
(function() {
var cyPanel = document.getElementById('SOHUCS');
cyPanel.setAttribute ('sid',pageId);
window.changyan.api.config({
appid: 'sinmh', // 替换为你自己的appid和conf
conf: 'sinmh-conf',
});
})();
</script>
通用系统配置文件位于src/common/config/main-local.php
,在此文件用于配置
db
,cache
,mailer
,sinmhSdk
,authClientCollection
,ucenter
,通用系统配置文件位于src/common/config/params-local.php
,此文件用于配置
domain
,javascript
,collect
;此文件配置信息可以覆盖src/common/config/params.php
中的配置信息,若需调整更多运行参数,可以将该文件中对应参数复制到本文件重新配置;
src/frontend/config/main-local.php
,其中可以配置主题信息theme
src/frontend/config/params-local.php
,其中可用配置默认分页数量defaultPageSize
src/admin/config/params-local.php
,其中可用配置
super_admin
,defaultPageSize
,token
src/backend/config/params-local.php
,其中可用配置系统管理员访问权限令牌token
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。