Merge pull request #8393 from sachajudd/pulls/4/document-help-menu

DOCS Add docs for CMS help menu links
This commit is contained in:
Maxime Rainville 2018-10-05 14:02:14 +13:00 committed by GitHub
commit d68f02ad25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 5 deletions

View File

@ -107,6 +107,23 @@ class. For more information about configuring extensions see the
LeftAndMain::add_extension('CustomLeftAndMain')
```
## Customising the CMS help menu
The CMS help menu links in the south toolbar are configurable via your [configuration file](../../configuration).
You can edit, add or remove existing links as shown in the examples below:
```yml
# app/_config/config.yml
SilverStripe\Admin\LeftAndMain:
help_links:
# Edit an existing link
'CMS User help': 'https://example.com'
# Add a new link
'Additional link': 'https://example.org'
# Remove an existing link
'Feedback': ''
```
## Related
* [How to extend the CMS interface](extend_cms_interface)

View File

@ -314,7 +314,7 @@ Further manual work on major or minor releases:
* Check that `Deprecation::notification_version('4.0.0');` in framework/_config.php points to
the right major version. This should match the major version of the current release. E.g. all versions of 4.x
should be set to `4.0.0`.
* Update the [userhelp.silverstripe.org](userhelp.silverstripe.org) version link in `LeftAndMain.help_link`
* Update the [userhelp.silverstripe.org](userhelp.silverstripe.org) version link in `LeftAndMain.help_links`
*Updating markdown files*