xi / article-bundle
此软件包最新版本(dev-master)没有可用的许可证信息。
轻量级内容管理用Xi文章包
dev-master
2012-09-04 11:37 UTC
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-09-14 12:53:01 UTC
README
文章包为Symfony 2项目中的文章提供支持。文章通过标签进行管理,这些标签由Xi标签包提供。
依赖项
xi-bundle-tag
xi-bundle-selector
安装
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 文件
<?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: /
样式
有一个搜索结果渲染模板,要与其xi搜索包集成,请确保相应管理员按钮(search-result-edit, search-result-delete, search-result-change)的样式正确,以便能够看到它们。