Minor tidy

Moved php config into YAML
replaced CSS image asset absolute URL with relative one (no idea where
this change needs to be made in SCSS
Minor readme fix (?flush)
This commit is contained in:
Michael Bollig 2014-08-22 10:03:19 +08:00
parent 88459f99cb
commit d85ecaa655
4 changed files with 6 additions and 7 deletions

View File

@ -25,7 +25,7 @@ SilverStripe 3.1
Add "jonom/silverstripe-betternavigator" to your requirements.
**Manually**
Download, place the folder in your project root, rename it to 'betternavigator' (if applicable) and run a dev/build?flush=1.
Download, place the folder in your project root, rename it to 'betternavigator' (if applicable) and run a dev/build?flush.
##How to use

View File

@ -1,4 +0,0 @@
<?php
//Attach BetterNavigator to Controllers
ContentController::add_extension('ContentController','BetterNavigator');

View File

@ -4,4 +4,7 @@ After: 'framework/*','cms/*'
---
LeftAndMain:
extra_requirements_javascript:
- 'betternavigator/javascript/BN.LeftAndMain.Preview.js'
- 'betternavigator/javascript/BN.LeftAndMain.Preview.js'
ContentController:
extensions:
- BetterNavigator

View File

@ -1,5 +1,5 @@
.bn-icon-sprite, .bn-icon-close, .bn-icon-cog, .bn-icon-db, .bn-icon-devmode, .bn-icon-edit, .bn-icon-flush, .bn-icon-info, .bn-icon-tick, .bn-icon-tools, .bn-icon-user, .bn-icon-view {
background-image: url('/betternavigator/images/bn-icon-sff60849a67.png');
background-image: url('../images/bn-icon-sff60849a67.png');
background-repeat: no-repeat;
}