账号通
    

账号  

密码  

3814

查看

9

回复
主题:8.0x普通管理员上传文件提示无权限的修改方法 [收藏主题] 转到:  
科汛官方 当前离线

47268

主题

145

广播

405

粉丝
添加关注
级别:管理员

用户积分:101604 分
登录次数:7935 次
注册时间:2006/12/7
最后登录:2023/12/14
科汛官方 发表于:2012/5/31 10:11:48   | 显示全部帖子 查看该作者主题 楼主 
科汛在线网校系统

问题如:http://bbs.kesion.com/forumthread-600962.html


解决方法:


以文章模型为例,打开

admin/ks.article.asp


找到

           

  1. .Write "$(document).ready(function(){CKEDITOR.replace('Content', {width:""98%"",height:""360px"",toolbar:""NewsTool"",filebrowserBrowseUrl :""Include/SelectPic.asp?from=ckeditor&Currpath="& KS.GetUpFilesDir() &""",filebrowserWindowWidth:650,filebrowserWindowHeight:290});})"


改为


           

  1. .Write "$(document).ready(function(){CKEDITOR.replace('Content', {width:""98%"",height:""360px"",toolbar:""NewsTool"",filebrowserBrowseUrl :""Include/SelectPic.asp?channelid=" & channelid & "&from=ckeditor&Currpath="& KS.GetUpFilesDir() &""",filebrowserWindowWidth:650,filebrowserWindowHeight:290});})"

这样就可以根据后台角色里设置是否有上传权限控制了




其它模型的修改方法类似。

 
KesionCMS,,
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.06152秒 powered by KesionCMS 9.0