[問題]有關FCKeditor的問題

看板Web_Design作者 (煥羽)時間19年前 (2006/09/22 13:55), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
想請問各位用過FCKeditor的大大們 我依照以下網站的教學使用FCKeditor http://ajunlee.pbwiki.com/FckeditorIntegrationASPNet 但都顯示錯誤 我是asp.net使用vb語法製作網頁 以下是我不懂的地方: 在你的程式中動態新增編輯器 如果你是使用應用程式方式(虛擬目錄),先在web.config中設定"Base path": 例如,如果你的FCKeditor路徑為"c:/inetpub/wwwroot/virtualdir/FCKeditor/" 問題一: 就在web.config中新增下面這行: (新增是要放在<system.web></system.web>中間,還是哪邊) <add key="FCKeditor:BasePath" value="~/FCKeditor/"></add> 問題二: I use a session to set the filebrowsers path , Add the session variable before you make the control Session("FCKeditor:UserFilesPath") = "/virtualdir/userfiles/" (session 是要我加在web.config裡面嗎?還是哪邊?) 問題三: Add the control to the page: (完全不了解是要我放在HTML裡,還是webform1.aspx.vb裡,或是web.config裡?) Dim fckeditor As New FredCK.FCKeditorV2.FCKeditor fckeditor.ImageBrowserURL = "http://localhost/virtualdir/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx" fckeditor.ID = "dynamicname" fckeditor.Value = "the text you want in the FCK editor" fckeditor.SkinPath = "skins/silver/" fckeditor.ToolbarSet = "Default" myForm.Controls.Add(fckeditor) ---------第一次發問,如有犯管規,請指正-------------- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.117.34.115
文章代碼(AID): #154thknN (Web_Design)
文章代碼(AID): #154thknN (Web_Design)