Asp.Net FckEditor在web.config中配置的具体实例
更新时间:2013年06月11日 23:15:55 作者:
Asp.Net FckEditor在web.config中配置的具体实例,需要的朋友可以参考一下
1、开发网站过程中fck配置:
1
<appSettings>
2
<add key="FCKeditor:BasePath" value="~/fckeditor/"/>
3
<add key="FCKeditor:UserFilesPath" value="/[网站名,如:OsChina]/Files/"/>
4
</appSettings>
2、发布网站时修改fck配置:
1
<appSettings>
2 www.jb51.net
<add key="FCKeditor:BasePath" value="~/fckeditor/"/>
3
<add key="FCKeditor:UserFilesPath" value="/Files/" />
4
</appSettings>
3、当网站发布到IIs中后,需要将上传的图片重新传一遍,否则网页上看不到图片
网站结构为:网站名/其它文件及文件夹
/Files
/Default.aspx
/web.config
1
<appSettings>
2
<add key="FCKeditor:BasePath" value="~/fckeditor/"/>
3
<add key="FCKeditor:UserFilesPath" value="/[网站名,如:OsChina]/Files/"/>
4
</appSettings>
2、发布网站时修改fck配置:
1
<appSettings>
2 www.jb51.net
<add key="FCKeditor:BasePath" value="~/fckeditor/"/>
3
<add key="FCKeditor:UserFilesPath" value="/Files/" />
4
</appSettings>
3、当网站发布到IIs中后,需要将上传的图片重新传一遍,否则网页上看不到图片
网站结构为:网站名/其它文件及文件夹
/Files
/Default.aspx
/web.config
相关文章
ASP.NET Core通过Microsoft.AspNetCore.App元包简化程序集引用
这篇文章介绍了ASP.NET Core通过Microsoft.AspNetCore.App元包简化程序集引用的方法,文中通过示例代码介绍的非常详细。对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下2022-07-07
jQuery Data Linking 对象与对象之间属性的关联
ASP.NET团队最近还向jQuery社区提交了被称为data linking的技术,Data Linking可以帮助你实现对象与对象之间属性的关联——当其中一方发生改变时另一方也随之改变。2010-12-12
TreeView创建IHierarchicalDataSource类型的数据源实现
为TreeView创建IHierarchicalDataSource类型的数据源实现2009-01-01


最新评论