axyr / silverstripe-adminlogin
使用自定义登录界面登录管理部分
1.1.0
2016-04-18 08:03 UTC
Requires
- php: >=5.4
- silverstripe/framework: >=3.1.0
Requires (Dev)
- phpunit/phpunit: ~3.7@stable
This package is not auto-updated.
Last update: 2023-12-23 10:58:11 UTC
README
## 安装 运行 composer require axyr/silverstripe-adminlogin
当登录管理部分时,使用自定义登录界面。
您还可以通过IP地址(范围)限制管理/内容管理系统部分。
支持以下格式
- 192.168.1.101
- 192.168.1.100-200
- 192.168.1.0/24
- 192.168.1.*
使用主题样式/脚本
如果您想使用您自己的主题样式/脚本,可以执行以下操作
- 将以下内容添加到配置文件中(例如
mysite/_config/_config.yml)
AdminLogin:
UseTheme: true
- 可选地将
templates/AdminLogin.ss复制到您的主题文件夹(并按您的喜好编辑它)。
截图
已知问题
当您已登录但未具有管理员权限时,将使用正常站点主题。
要求 > 5.4