An article bundle for Symfony 2
PHP CSS CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Controller
DependencyInjection
Entity
Form
Repository
Resources
Service
Tests
Twig/Extensions
.gitignore
.travis.yml
LICENSE
README.md
XiArticleBundle.php
composer.json

README.md

Article functionality for Symfony2

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