View more context


Also, anyone know why the following doesn't change AssetAdmin.menu_title?

  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