Skip to content

Use a custom login screen when log in to the admin section

License

Notifications You must be signed in to change notification settings

fullscreeninteractive/silverstripe-adminlogin

 
 

Repository files navigation

silverstripe-adminlogin

Scrutinizer Travis Packagist Packagist

##Installation Run composer require axyr/silverstripe-adminlogin

Use a custom login screen when log in to the admin section.

You can also limit the admin/cms section by ip address (ranges).

The following formats are supported :

  • 192.168.1.101
  • 192.168.1.100-200
  • 192.168.1.0/24
  • 192.168.1.*

Use theme styles/scripts

If you want to use your theme styles/scripts you can do the following:

  • Add the following to a config file (e.g. mysite/_config/_config.yml):
AdminLogin:
  UseTheme: true
  • Optionally copy templates/AdminLogin.ss to your theme folder (& edit it to your liking).

Screenshot

Screenshot

Known issues

When you are logged in, but don't have admin permissions, the normal site theme will be used.

Requires > 5.4

About

Use a custom login screen when log in to the admin section

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 77.7%
  • CSS 17.6%
  • Scheme 4.7%