View more context

  1. SilverStripe\AssetAdmin\Controller\AssetAdmin:
  2. menu_title: 'Document Store'

Debuging LeftAndMain::menu_title() implies that the title is "Document Store"

but the CMS Menu hasn't changed and LeftAndMain::MainMenu() returns "Files" as the title

Ugh, apparently has to be done in a translation file

i guess that makes sense. you should be able to do that at the project level i would've thought, e.g. app/lang/en.yml

wait, it looks like you should be able to use a config prop too the way you've done it above

ok yeah you're right, you need to change it both places

  1. # app/_config/mysite.yml
  2. SilverStripe\AssetAdmin\Controller\AssetAdmin:
  3. menu_title: 'Document Store'
  5. # app/lang/en.yml
  6. en:
  7. SilverStripe\AssetAdmin\Controller\AssetAdmin:
  8. MENUTITLE: 'Document Store'