Infos
- Status:
- Score: 100
- Required Symfony version: 2.*
- Created: 2010-12-28
- Nb of contributors: 14
- Nb of followers: 75
- sonata-project/SonataNewsBundle
- sonata-project/news-bundle
Recommendations
Score evolution
Score details ( ? )
- Github Followers: 75
- Last 30 days activity: 1.8
- README file size: 5
- Uses Travis CI: 0
- Travis CI build status: 0
- Provides a composer package: 5
- KnpBundles recommendations: 10
Contributors
Latest commits
- Merge pull request #66 from oparadis/jenkinsBy rande 21 days ago
- Add build process for jenkins integrationBy oparadis 21 days ago
- Rename methodBy rande 25 days ago
- Add translation for admin top bar menuBy rande 25 days ago
- Fix regressionBy rande 1 month ago
- Merge pull request #64 from benlumley/2.0By rande 1 month ago
- Fixed incorrect field type in mongodb schema - causes 'Invalid type specified - integer' on cache warmup - they should be int. IamPersistent has already corrected a couple of these - see f369e6b081f97bed3633ff7a30af9d7abc8c688b. So merge me quick please :)'By benlumley 1 month ago
- Merge pull request #59 from edwines/2.0By rande 1 month ago
- Enabled the underscore strategyBy edwines 1 month ago
- Add missing dependencyBy rande 1 month ago
SonataNewsBundle
A blog platform based on Doctrine2 and Symfony2.
Installation
Add SonataNewsBundle to your src/Bundle dir
git submodule add git://github.com/sonata-project/SonataNewsBundle.git vendor/bundles/Sonata/NewsBundle git submodule add git://github.com/sonata-project/SonataMediaBundle.git vendor/bundles/Sonata/MediaBundle git submodule add git://github.com/sonata-project/SonataUserBundle.git vendor/bundles/Sonata/UserBundle git submodule add git://github.com/FriendsOfSymfony/FOSUserBundle.git vendor/bundles/FOS/UserBundleAdd SonataNewsBundle to your application kernel
// app/AppKernel.php public function registerBundles() { return array( // ... new Sonata\NewsBundle\SonataNewsBundle(), new Sonata\UserBundle\SonataUserBundle(), new Sonata\UserBundle\SonataMediaBundle(), new FOS\UserBundle\FOSUserBundle(), // ... ); }Run the easy-extends command
php app/console sonata:easy-extends:generate SonataNewsBundle php app/console sonata:easy-extends:generate SonataUserBundle php app/console sonata:easy-extends:generate SonataMediaBundleEnable the new bundles
// app/AppKernel.php public function registerBundles() { return array( // ... new Application\Sonata\NewsBundle\SonataNewsBundle(), new Application\Sonata\UserBundle\SonataUserBundle(), new Application\Sonata\UserBundle\SonataMediaBundle(), // ... ); }Complete the FOS/UserBundle install and use the
Application\Sonata\UserBundle\Entity\Useras the user classAdd SonataNewsBundle routes to your application routing.yml
# app/config/routing.yml news: resource: '@SonataNewsBundle/Resources/config/routing/news.xml' prefix: /newsAdd a new context into your
sonata_mediaconfigurationnews: providers: - sonata.media.provider.dailymotion - sonata.media.provider.youtube - sonata.media.provider.image formats: small: { width: 150 , quality: 95} big: { width: 500 , quality: 90}
-
2012-04-19 Menthe Alow -
2012-03-24 David Silveira -
2012-01-18 rfanjul -
2011-11-25 wodor wodorski -
2011-08-27 Wiyarmir
