FCKeditor smarty 编辑器的应用PHP

2023-12-05 0 222

感谢csdn社区 hsboy用户的帖子 原文: 6 楼hsboy(PHP it!)回复于 2006-03-05 18:44:07 得分60 假设 1、你要用fckeditor编辑的内容通过$smarty->assign(\’content\’, $content)传递到模板 2、fckeditor编辑器放在当前被调用的php程序所在目录(注意不是模板文件所在的目录)的fckeditor目录下 则模板只需这样写即可: 复制代码 代码如下: <script type=\”text/javascript\” src=\”fckeditor/fckeditor.js\”></script> <form method=\”POST\”> <script type=\”text/javascript\”> var oFCKeditor = new FCKeditor( \’content\’ ) ; oFCKeditor.BasePath = \”fckeditor/\” ; oFCKeditor.Height = 300 ; oFCKeditor.Value = \'{ $content }\’ ; oFCKeditor.Create() ; </script> </form> 自己仔细研究一下很容易解决你这个问题的。这并不是一个很困难的任务。其实这里很多都是菜鸟级别的。

您可能感兴趣的文章:

  • PHP文件缓存smarty模板应用实例分析
  • Smarty高级应用之缓存操作技巧分析
  • smarty简单应用实例
  • php smarty模版引擎中的缓存应用
  • php smarty模版引擎中的缓存应用
  • Smarty安装配置方法
  • Smarty模板快速入门
  • ThinkPHP使用smarty模板引擎的方法
  • smarty半小时快速上手入门教程
  • Smarty模板常见的简单应用分析

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 网页编辑器 FCKeditor smarty 编辑器的应用PHP https://www.u-9.cn/biancheng/bianji/97877.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务