Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show silverstripe ModelAdmin by default

Tags:

silverstripe

I want to have a ModelAdmin interface show up as the default rather than Pages - is there a way to do this?

like image 343
galilee Avatar asked May 02 '17 23:05

galilee


2 Answers

Yes, you can set the default login destination in your config.yml like this:

Security: default_login_dest: 'admin/mymodeladmin'

like image 144
Simon Erkelens Avatar answered Sep 22 '22 08:09

Simon Erkelens


You can set the default admin panel by adding the following your config.yml file:

AdminRootController:
  default_panel: 'NumberOneSuperAwesomeAdmin'
like image 24
3dgoo Avatar answered Sep 24 '22 08:09

3dgoo