xi / article-bundle
Xi Article Bundle for light weight content management
Installs: 164
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- doctrine/orm: 2.2.*
- symfony/dependency-injection: 2.1.*
- symfony/form: 2.1.*
- symfony/framework-bundle: 2.1.*
- twig/twig: 1.*
- xi/search-bundle: dev-master
- xi/tag-bundle: dev-master
This package is not auto-updated.
Last update: 2024-12-21 14:07:04 UTC
README
Article bundle provides support for articles inside a Symfony 2 project. Articles are managed by tags, which are provided by Xi tag bundle.
Dependencies
xi-bundle-tag
xi-bundle-selector
Installing
deps -file
[XiSelectorBundle]
git=http://github.com/xi-project/xi-bundle-selector.git
target=/bundles/Xi/Bundle/SelectorBundle
[XiTagBundle]
git=http://github.com/xi-project/xi-bundle-tag.git
target=/bundles/Xi/Bundle/TagBundle
[XiArticleBundle]
git=http://github.com/xi-project/xi-bundle-article.git
target=/bundles/Xi/Bundle/ArticleBundle
autoload.php file
<?php 'Xi\\Bundle' => __DIR__.'/../vendor/bundles', ?>
appKernel.php -file
<?php new Xi\Bundle\SelectorBundle\XiSelectorBundle(), new Xi\Bundle\TagBundle\XiTagBundle(), new Xi\Bundle\ArticleBundle\XiArticleBundle(), ?>
routing.yml -file
XiTagBundle: resource: "@XiTagBundle/Resources/config/routing.yml" prefix: / XiArticleBundle: resource: "@XiArticleBundle/Resources/config/routing.yml" prefix: /
Styling
there is a search result render template, for integration with xi search bundle, be sure to style the respective admin buttons (search-result-edit, search-result-delete, search-result-change) to actually see them