FCKeditor(Asp.Net)µÄÅäÖÃÓ밲ȫÐÔ
Ç°ÑÔ
FCKeditorÊÇʹÓ÷dz£¹ã·ºµÄHTML±à¼Æ÷£¬±¾ÎÄ´Ó ASP.NET µÄʹÓó¡¾°¶Ô FCKeditor Óë FCKeditor.NET µÄÅäÖᢹ¦ÄÜÀ©Õ¹£¨Èç×Ô¶¨ÒåÎļþÉÏ´«×ÓĿ¼¡¢×Ô¶¨ÒåÎļþÃû¡¢ÉÏ´«Í¼Æ¬µÄºóÆÚ´¦ÀíµÈ£©¡¢ÒÔ¼°°²È«ÐÔ½øÐгõ²½µÄ²ûÊö¡£
Ï£ÍûÄÜ°ïÖúÓÐͬÑùÐèÇóµÄͬÈʽÚÊ¡Ò»µãʱ¼ä£»Ò²Ï£Íû¸÷λÄÜÖ¸ÕýÆäÖеIJ»×㡣лл¡£
Ò»¡¢×Ô¶¨Òå FCKeditor µÄ BasePath
BasePath ¼´FCKeditorÔÚÍøÕ¾ÖеÄÏà¶Ô·¾¶£¬Ä¬ÈÏÖµÊÇ /fckeditor/£¬×îºÃÔÚWeb.config appSettingsÖжÔÆä½øÐÐÅäÖãº
<add key="FCKeditor:BasePath" value="/FCKeditor_2.6.3/"/>
ÕâÑù×öÓÐÖî¶àÓŵ㣺
¿ª·¢»·¾³ÓëÉú²ú»·¾³²»Í¬£¬¿ª·¢»·¾³Ò»°ãÊÇhttp://localhost/xxx.com/ÕâÖÖÇé¿öÏÂFCKeditor¾ÍµÃ·ÅÔÚÒ»¸öÐéÄâĿ¼http://localhost/fckeditor/ÖУ¬ÈôÉæ¼°¶à¸öÍøÕ¾µÄ¿ª·¢£¬¶ø¸÷ÍøÕ¾µÄFCKeditorÓвî±ðʱ£¬ÕâÑùÏÔÈ»²»ÊÇ×îÓÅ£»
¶øÇÒÒòΪÎïÀíĿ¼½á¹¹ÓëÂ߼Ŀ¼½á¹¹²»Í¬£¬Ò²»áÓз¢Éú´íÎóµÄÒþ»¼£»
¶øÈç¹û²ÉÓÃWeb.configµÄÅäÖ㬾ͿÉÒÔÔÚ¿ª·¢»·¾³²ÉÓò»Í¬µÄÅäÖã¬FCKeditorµÄÎïÀí·¾¶ÓëÉú²ú»·¾³±£³ÖÒ»Ö£»
µ±Éý¼¶FCKeditorʱ£¬Ö»ÐèÒª½«Ð°汾µÄFCKeditor·ÅÔÚÏàÓ¦°æ±¾ºÅµÄĿ¼ÀÐÞ¸ÄÒ»ÏÂÅäÖü´¿É¡£ÕâÑù¿ÉÒÔ½â¾öÒòΪ¾²Ì¬×ÊÔ´µÄ¿Í»§¶Ë»º´æÎÊÌ⣬²»Í¬Óû§³öÏÖ²»Í¬µÄ´íÎóµÄÎÊÌ⣻
¿ÉÒÔÖ±¹ÛµØ¿´µ½×Ô¼ºµÄFCKeditorµÄ°æ±¾ºÅ¡£
¶þ¡¢ÅäÖÃÎļþÉÏ´«µÄĿ¼
FCKeditorµÄÎļþÉÏ´«£¨ÈçͼƬÉÏ´«£©Ä¿Â¼¿ÉÒÔͨ¹ýWeb.config appSettings½øÐÐÅäÖã¬È磺
<add key="FCKeditor:UserFilesPath" value="/UploadFile/FCKeditor/"/>
Ò²¿ÉÒÔÔÚ /FCKeditorBasePath/editor/filemanager/connectors/aspx/config.ascx ÖнøÐÐÅäÖ㬵«ÎÒ½¨Òé FCKeditor Ŀ¼ÖеÄÄÚÈÝÄܲ»¸Ä¾Í²»¸Ä£¨fckconfig.js³ýÍ⣩£¬ÕâÑùÈÕºóÉý¼¶¿ÉÒÔ·ÅÐĵØÌæ»»¼´¿É¡£
Èý¡¢×Ô¶¨ÒåÎļþÉÏ´«µÄ×ÓĿ¼µÄ¸ñʽ
ÎÒÃÇÖªµÀ£¬Ò»¸öÎļþ¼ÐÏÂÃæ²»ÄÜ´æ·Å¹ý¶àµÄÎļþ£¨¾Ý³ÆWindowsÏÂÃæµÄĿ¼ÏÂ2000ΪãÐÖµ£©£¬·ñÔò¶Ô¸ÃĿ¼µÄ·ÃÎÊ»áÑÏÖØÓ°ÏìI/OÐÔÄÜ¡£¶øFCKeditorµÄÎļþ´æ´¢ÊÇÔÚµ¥Ò»µÄÒ»¸öĿ¼½øÐеġ£ÎÒ¶ÔFCKeditor½øÐÐÁËÀ©Õ¹£¬¿ÉÒÔÔÚWeb.config appSettings¶Ô´æ´¢Ä¿Â¼µÄ¸ñʽ×Ô¶¨Ò壬È磺
<add key="FCKeditor:FolderPattern" value="%y/%m-%d/"/>
ÒÔ½ñÌìµÄÈÕÆÚΪÀý£ºÕâÑù²úÉúµÄÎļþÉÏ´«×ÓĿ¼¸ñʽΪ£º2008/10-21/¡£
ÄêÔÂÈÕ¸ñʽµÄĿ¼¿ÉÒÔËæÒâ×éºÏ£¬È磺
<add key="FCKeditor:FolderPattern" value="%y/%m/%d/"/>
ÕâÑù²úÉúµÄÎļþÉÏ´«×ÓĿ¼±ä³ÉÁË2008/10/21/
Ïà¹ØÎĵµ£º
±¾ÎÄĿ¼£º
1.membership¼ò½é
2.membershipÔÚsql serverÖеÄÉèÖÃ
3.ÅäÖÃweb.config
4.´´½¨Óû§CreateUserWizard¿Ø¼þ
5.Óû§µÇ¼login¿Ø¼þ
6.ÏÔʾµ±Ç°Óû§µÄÃû³ÆLoginName¿Ø¼þ
7.¼ì²âÓû§µÄÉí·ÝÑé֤״̬µÄLoginStatus¿Ø¼þ
8.Ϊ²»Í¬Àà±ðÓû§³ÊÏÖ²»Í¬ÄÚÈݵÄLoginView¿Ø¼þ
9.¸ü¸ÄÃÜÂëµÄChangePassword¿Ø¼þ
10.×ÔÖúÕÒ» ......
ÉèÖÃ×é¼þ
<configSections>
<section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"/>
</configSections>
ÉèÖÃÄ£¿é
<httpModules>
&n ......
ÉÏƪÎÄÕÂÖÐ˵µ½Ê²Ã´ÊÇ Cache¶ÔÏó£¬ÈçºÎÔÚASP.NETÖÐʹÓà Cache¶ÔÏó¡£ÏÂÃæÎÒÃÇÀ´ËµËµÈçºÎÔÚASP.NETÖÐɾ³ýÏî¡£
ASP.NET Cache ¶ÔÏóÉè¼ÆÓÃÓÚ±£Ö¤Ëü²¢²»Ê¹Óùý¶àµÄ·þÎñÆ÷ÄÚ´æ¡£½á¹ûÊÇ£¬µ±ÓÃÄÚ´æ±äµÃȱ·¦Ê±£¬Cache¶ÔÏó×Ô¶¯É¾³ý×îÉÙ±»Ê¹ÓõÄÏî¡£Äã¿ÉÒÔͨ¹ý¶¨Òåʱ¼äÏÞÖÆ¡¢ÒÀÀµÏî¡¢ÒÔ¼°Ïî
ÔÚCache¶ÔÏóÖеÄÓÅÏȼ¶À´Ó°Ïì Cache¶ÔÏó±£ ......
aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ArticlePage.aspx.cs" Inherits="ArticlePage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" > ......
·ÂpetshopµÄÒ»¸öÊý¾Ý·ÃÎʲãµÄÀà ³Ë·çÏÖÓÐÔ´´³ÌÐò³Ë·ç¹ã¸æÁªÃËϵͳ³Ë·ç¶àÓû§¼ÆÊýÆ÷ ³Ë·ç¶àÓû§PHPͳ¼Æϵͳ ³Ë·çµçÓ°³ÌÐò³Ë·çÍøÖ·³ÌÐò³Ë·ç¹ã¸æ¹ÜÀíϵͳ³Ë·çasp.net̽Õë·ÂpetshopµÄÒ»¸öÊý¾Ý·ÃÎʲãµÄÀà using System;
using System.Data;
using System.Data.OleDb;
using System.Configuration;
namespace yueying.Compon ......