管理员控制更改网站中的图片 [英] Admin control to change pictures in website

查看:99
本文介绍了管理员控制更改网站中的图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个网站...我给了管理员面板和管理员可以更改网站上的图片....但我很困惑,我在哪里以及如何给上传图片选项..

好​​像我把它放在与图像相同的页面中,并使文件上传可见= false。然后管理员也无法看到文件上传控件...请建议我该怎么做。

解决方案

如果我理解正确,你正试图让该文件上传仅对具有管理员角色的用户可见,对吗?答案是为不同的用户角色设置不同的页面。探索管理具有角色的网站用户 [ ^ ]

i am making a website... i had given admin panel and admin can change the pictures in the website....but i m confused that where and how can i give the upload picture option..
as if i give it in the same page as images are and make the file upload visible=false. then the admin is also unable to see the file upload control...please suggest me what to do.

解决方案

If I understand you correctly, you are trying to make that file upload only visible to user with admin role, right? The answer is to have different pages for different user roles. Explore Managing Web Site Users with Roles[^]


这篇关于管理员控制更改网站中的图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆