很多人都想要的东西吧?
每次更换编辑器后要从新编辑内容摘要。
很多人都想要这个功能。现在有了。看看大家用了以后会有什么感觉。
我弄了这个功能以后才知道当初开发者为什么没有开发更换编辑器的功能了。
大家用了以后就知道了。
只需修改2个文件的4处地方即可,修改方法如下:
----------------------------------
文件class\cls_article.asp
----------------------------------
查找
<a href="blogedit.asp?id=<%=log_ViewArr(0,0)%>" title="编辑该日志" accesskey="E"><img src="images/icon_edit.gif" alt="" border="0" style="margin-bottom:-2px"/></a>
替换成
<a href="blogedit.asp?id=<%=log_ViewArr(0,0)%>&log_editType=1" title="使用UBBeditor编辑该日志" accesskey="E"><img src="images/icon_edit.gif" alt="" border="0" style="margin-bottom:-2px"/></a> <a href="blogedit.asp?id=<%=log_ViewArr(0,0)%>&log_editType=0" title="使用FCKeditor编辑该日志" accesskey="E"><img src="images/icon_edit.gif" alt="" border="0" style="margin-bottom:-2px"/></a>
-----------------
文件blogedit.asp
-----------------
查找
<input name="log_editType" type="hidden" id="log_editType" value="<%=log_editType%>"/>
替换成
<input name="log_editType" type="hidden" id="log_editType" value="<%=Request.QueryString("log_editType")%>"/>
查找
if log_editType=0 then
Dim sBasePath
替换成
dim log_editType1
log_editType1=Request.QueryString("log_editType")
if log_editType1=0 then
Dim sBasePath
查找
if log_editType=0 then
Dim oFCKeditor1
替换成
if log_editType1=0 then
Dim oFCKeditor1
[
本帖最后由 向导 于 2007-1-6 22
编辑 ]