Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add an documentation for using this module with Fluent
  • Loading branch information
hdpero authored Apr 5, 2018
1 parent c1fceaf commit 9f8af7a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,20 @@ composer require "fractas/cookiepolicy" "^2.0"
![Cookie Policy Admin](https://github.com/fractaslabs/silverstripe-cookie-policy-notification/blob/master/docs/en/images/Cookie-policy-admin.png)


## Usage with Fluent
* Install [Fluent](https://github.com/tractorcow/silverstripe-fluent) on your project
* Add to your YML configuration file an FluentExtension and these DB fields:
```yml
SilverStripe\SiteConfig\SiteConfig:
extensions:
- 'TractorCow\Fluent\Extension\FluentExtension'
translate:
- 'CookiePolicyButtonTitle'
- 'CookiePolicyDescription'
```
* Visit yoursite.com/dev/build?flush=1 to rebuild the database.
## Known Issues
[GitHub Issue Tracker](https://github.com/fractaslabs/silverstripe-cookie-policy-notification/issues)
Expand Down

0 comments on commit 9f8af7a

Please sign in to comment.