mirror of
https://github.com/jonom/silverstripe-betternavigator.git
synced 2024-10-22 14:05:51 +02:00
Added developer config example
This commit is contained in:
parent
fc7ad6ce2e
commit
579ccd4fc3
10
README.md
10
README.md
@ -29,6 +29,16 @@ Download, place the folder in your project root, rename it to 'betternavigator'
|
|||||||
|
|
||||||
Just place **$BetterNavigator** somewhere in your template(s). If your website uses caching, make sure BetterNavigator's output is excluded.
|
Just place **$BetterNavigator** somewhere in your template(s). If your website uses caching, make sure BetterNavigator's output is excluded.
|
||||||
|
|
||||||
|
**Access developer tools on a live website**
|
||||||
|
You can mark certain CMS users as developers in your site's config, so they can acess developer tools when logged in. Example YAML:
|
||||||
|
|
||||||
|
```
|
||||||
|
BetterNavigator:
|
||||||
|
developers:
|
||||||
|
- 'dev@yoursite.com'
|
||||||
|
- 'otherdev@yoursite.com'
|
||||||
|
```
|
||||||
|
|
||||||
##Customisation
|
##Customisation
|
||||||
|
|
||||||
Scripts and CSS are included via the BetterNavigator.ss template, so you can completely customise the front-end code and included links by copying or creating your own BetterNavigator.ss template.
|
Scripts and CSS are included via the BetterNavigator.ss template, so you can completely customise the front-end code and included links by copying or creating your own BetterNavigator.ss template.
|
||||||
|
Loading…
Reference in New Issue
Block a user