2015年4月12日。
鉴于多位朋友鉴于,终于鼓起勇气更换了网站后台和会员页面的编辑器,还有些纰漏等待修复。
1、参考——动易SiteWeaver 6.8编辑器替换KindEditor 4.1.10
http://bbs.powereasy.net/forum67/thread-542793-2-2.aspx
2、更换我之后,发现不能上传图片
根目录下需要建立文件夹UploadFiles/Images
3、首页焦点图没了
换腾讯的见12楼(11楼有修改)
关于焦点图,看了一些,我觉得QQ那个美观、大方,适合大多数网站用,比论坛内现成的要好得多:
http://www.lanrentuku.com/js/d455.zip
稍微改改就行了。这是我测试时的自定义标签:
select top {input(2)} ArticleID,ChannelID,Title,DefaultPicUrl from PE_Article where Status=3 and ChannelID in ({input(0)}) and ClassID in ({input(1)}) and DefaultPicUrl<>'' and deleted={$PE_False} order by ArticleID desc
频道ID
栏目ID
图片个数
标题长度
<script src="{$InstallDir}Skin/qqflash/swfobject_source.js" type="text/javascript"></script>
<DIV id=dplayer2 style="padding-right: 0px; padding-left: 0px; background: #ffffff; padding-bottom: 0px; margin: 0px auto; width: 370px; padding-top: 0px; height: 230px"></DIV>
<SCRIPT language=javascript type=text/javascript>
var titles = "";
var imgs="";
var urls="";
function addtitle(title){
if(titles!=""){
titles+="|";
}
titles+=title;
}
function addphotourl(photourl){
if(imgs!=""){
imgs+="|";
}
imgs+=photourl;
}
function addlink(link){
if(urls!=""){
urls+="|";
}
urls+=link;
}
{Loop}{Infobegin}
addtitle("{$Field(2,Text,{input(3)},1,0)}");
addphotourl("{$Field(3,Text,0,0,0)}");
addlink("{$InstallDir}{$Field(0,GetUrl,Article,1)}");
{Infoend}{/Loop}
var pw = 370;
var ph = 230;
var sizes = 14;
var Times = 4000;
var umcolor = 0xFFFFFF;
var btnbg =0xFF7E00;
var txtcolor =0xFFFFFF;
var txtoutcolor = 0x000000;
var flash = new SWFObject('{$InstallDir}Skin/qqflash/focus1.swf', 'mymovie', pw, ph, '10', '');
flash.addParam('allowFullScreen', 'true');
flash.addParam('allowScriptAccess', 'always');
flash.addParam('quality', 'high');
flash.addParam('wmode', 'Transparent');
flash.addVariable('pw', pw);
flash.addVariable('ph', ph);
flash.addVariable('sizes', sizes);
flash.addVariable('umcolor', umcolor);
flash.addVariable('btnbg', btnbg);
flash.addVariable('txtcolor', txtcolor);
flash.addVariable('txtoutcolor', txtoutcolor);
flash.addVariable('urls', urls);
flash.addVariable('Times', Times);
flash.addVariable('titles', titles);
flash.addVariable('imgs', imgs);
flash.write('dplayer2');
</SCRIPT>