xi-project / xi-bundle-article

An article bundle for Symfony 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An article bundle for Symfony 2

License:Other


Languages

Language:PHP 92.3%Language:CSS 7.6%Language:CoffeeScript 0.1%