tractorcow / silverstripe-dynamiccache

Simple on the fly caching of dynamic content for Silverstripe
39 stars 27 forks source link

Config File has no "Name" #21

Closed RoyalPulp closed 10 years ago

RoyalPulp commented 10 years ago

Hello! When configuring other modules with my own *.yml file, I can tell Silverstripe to process my config file after the original config file of the module. But to do that, each configuration file needs a name definition.

So the first 3 lines inside the dynamiccache.yml file shoud be something like this:


---
Name: dynamiccacheconfig

---

Example (Fluent Module):

/fluent/_config/fluent.yml


---
Name: fluentconfig

---
Fluent:
  # Don't forget to set i18n->default_locale too!
  default_locale: en_NZ
  locales: []
#(...)

/mysite/_config/fluent.yml


---
Name: myfluentconfig
After: '#fluentconfig'

---
Fluent:
  detect_locale: false
  remember_locale: false
  default_locale: de_DE
  locales:
    - de_DE
    - nl_NL
    - en_US
#(...)

Regards, Hendrik

tractorcow commented 10 years ago

Fixed. :)