infinite-software/sulu-articles-publisher-bundle
Composer 安装命令:
composer require infinite-software/sulu-articles-publisher-bundle
包简介
Sulu articles publisher bundle
README 文档
README
This bundle closely connected with sulu content import/export bundle (fork).
Its main purpose is to solve the problem with published sulu articles not being available in sulu content variable, after executed content dump import command (from fork): php bin/console sulu:import dir_name (Assuming you have already exported content of sulu before (from fork))
Requirements
Bundle is tested with PHP 7.1, Symfony 3.4, Sulu 1.6.
Installation
-
composer require infinite-software/sulu-articles-publisher-bundle
-
Modify AbstractKernel.php as always:
// app/AbstractKernel.php // ... class AbstractKernel extends SuluKernel { // ... public function registerBundles() { $bundles = array( // ... new InfiniteSoftware\Bundle\SuluArticlesPublisherBundle\SuluArticlesPublisherBundle(), ); // ... } } -
Now you can publish articles with the command: php bin/console sulu:articles:publish
-
Then you should be able to see articles in content twig var, using for loop:
{% for article in content.articles %}
{% endfor %}
统计信息
- 总下载量: 77
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: mit
- 更新时间: 2018-11-14