mhujer / BreadcrumbsBundle

Breadcrumbs bundle for Symfony. This is a fork of whiteoctober/BreadcrumbsBundle maintained for newer Symfony and PHP versions.
Other
66 stars 12 forks source link

Configure the bundle in your config #14

Closed guillaumecardon closed 4 years ago

guillaumecardon commented 4 years ago

Hello,

In Symfony >=4, there isn't file "app/config/config.yml". So we can't add the bundle configuration : white_october_breadcrumbs: ~, described in the part 3 of your installation guide.

Need to create a specific "config.yml" file or can we add bundle configuration in other file ? Thanks for you help

guillaumecardon commented 4 years ago

Answer : Create a file "white_october_breadcrumbs.yaml" in "/config/packages" and copy-paste your configuration : for example

white_october_breadcrumbs:
    separator:          'pouet'
    separatorClass:     'separator'
    listId:             'wo-breadcrumbs'
    listClass:          'breadcrumb'
mhujer commented 4 years ago

@guillaumecardon thanks for pointing that out! I've updated the README to show the instructions for Symfony Flex application structure.