xi/article-bundle

There is no license information available for the latest version (dev-master) of this package.

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

dev-master 2012-09-04 11:37 UTC

This package is not auto-updated.

Last update: 2024-10-26 13:15:59 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