Thanks much. The author of the plugin is Fabien, so I was assuming I could copy it blindly. But I think that line violates YAML syntax.
On Feb 26, 1:38 am, Colin Williams <[email protected]> wrote: > I'm not sure what the author of that plugin meant, but the syntax for > enabling modules is a comma-separated list inside of square brackets. The > parenthesis should not be there. > > So, for example: > all: > .settings: > enabled_modules: [sfMediaLibrary, default, sfOtherPluginModule] > > --Colin > > On Thu, Feb 26, 2009 at 1:32 AM, Lawrence Krubner > <[email protected]>wrote: > > > > > I am looking at the README section here: > > >http://www.symfony-project.org/plugins/sfMediaLibraryPlugin > > > I see these 5 lines: > > > Enable the new module in your application, via the settings.yml file. > > // in myproject/apps/frontend/config/settings.yml > > all: > > .settings: > > enabled_modules: [sfMediaLibrary](default,) > > > The syntax of that last line seems crazy to me. "default" goes inside > > of parenthesises, but "sfMediaLibrary" goes inside of square brackets? > > Why? > > > And if I was adding in another plugin module, would I use square > > brackets or parenthesises? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
