定制 infinite-software/sulu-articles-publisher-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. composer require infinite-software/sulu-articles-publisher-bundle

  2. Modify AbstractKernel.php as always:

     // app/AbstractKernel.php
     
     // ...
     class AbstractKernel extends SuluKernel
     {
         // ...
     
         public function registerBundles()
         {
             $bundles = array(
                 // ...
                 new InfiniteSoftware\Bundle\SuluArticlesPublisherBundle\SuluArticlesPublisherBundle(),
             );
     
             // ...
         }
     }
    
  3. Now you can publish articles with the command: php bin/console sulu:articles:publish

  4. 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: mit
  • 更新时间: 2018-11-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固