You are here
View more context
SilverStripe\AssetAdmin\Controller\AssetAdmin: 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
trying it quickly
ok yeah you're right, you need to change it both places
# app/_config/mysite.ymlSilverStripe\AssetAdmin\Controller\AssetAdmin: menu_title: 'Document Store' # app/lang/en.ymlen: SilverStripe\AssetAdmin\Controller\AssetAdmin: MENUTITLE: 'Document Store'