以Soft下載頻道為例:
后臺添加軟件的編輯器,
修改admin/admin_soft.asp文件中的,
1127行,
原代碼
Response.Write " <iframe ID='editor' src='../editor.asp?ChannelID=" & ChannelID & "&ShowType=3&tContentid=SoftIntro' frameborder='1' scrolling='no' width='700' height='200' ></iframe>"
修改為文章編輯器
Response.Write " <iframe ID='editor' src='../editor.asp?ChannelID=" & ChannelID & "&ShowType=0&tContentid=SoftIntro' frameborder='1' scrolling='no' width='700' height='600' ></iframe>"
主要是修改編輯器類型,亦可自定義修改編輯器界面的大小寬.
PS:
編輯器類型分為8種,0~6,其中0為文章類型編輯器;1為模板頁面標(biāo)簽編輯器;2,3,6為圖片視頻添加外部鏈接的編輯器,即不支持本地上傳;4,5為簡化了的文章編輯器,但仍支持本地圖片上傳。
自己測試了下第8種,7號編輯器,即在編輯器類型中ShowType=7,后臺顯示為純文本編輯器。
前臺編輯器修改
include文件夾中的相應(yīng)的 PowerEasy.Article.asp PowerEasy.GuestBook.asp ...相關(guān)頻道的文件;
只需編輯--查找--iframe
各類型分別如下:
|
新聞熱點
疑難解答
圖片精選