Skip to content

Aarnew/xi-bundle-article

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 93.3%
  • CSS 6.6%
  • CoffeeScript 0.1%