Version

Documentation » News

« 2. Installation

3. Advanced Configuration

sonata_news:
    title:        Sonata Project
    link:         http://sonata-project.org
    description:  Cool bundles on top of Symfony2
    salt:         'secureToken'
    permalink_generator: sonata.news.permalink.date # sonata.news.permalink.category

    comment:
        notification:
            emails:   [[email protected], [email protected]]
            from:     [email protected]
            template: 'SonataNewsBundle:Mail:comment_notification.txt.twig'

    class:
        post:       Application\Sonata\NewsBundle\Entity\Post
        tag:        Application\Sonata\NewsBundle\Entity\Tag
        comment:    Application\Sonata\NewsBundle\Entity\Comment
        category:   Application\Sonata\NewsBundle\Entity\Category
        media:      Application\Sonata\MediaBundle\Entity\Media
        user:       Application\Sonata\UserBundle\Entity\User

doctrine:
    orm:
        entity_managers:
            default:
                #metadata_cache_driver: apc
                #query_cache_driver: apc
                #result_cache_driver: apc
                mappings:
                    ApplicationSonataNewsBundle: ~
                    SonataNewsBundle: ~

Found a typo? Something is wrong in this documentation? Just fork and edit it!