lcbrq/magento2-faq 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

lcbrq/magento2-faq

Composer 安装命令:

composer require lcbrq/magento2-faq

包简介

LCB Faq module for Magento2

README 文档

README

Frequently Asked Questions plugin for Magento2 with multistore support

Installation

php bin/magento module:enable LCB_Faq
php bin/magento setup:upgrade
php bin/magento setup:db-schema:upgrade
php bin/magento setup:di:compile

Usage

Edit FAQ in content management
Visit FAQ page on /faq route

Categories

Sample extension

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="LCB\Faq\Model\Category">
        <plugin name="SmilepenFaq" type="Smilepen\Pages\Plugin\Faq\Category" sortOrder="1" />
    </type>
</config>
<?php

namespace Smilepen\Pages\Plugin\Faq;

class Category {

    public function afterGetOptionArray(
    \LCB\Faq\Model\Category $category
    )
    {
        return array(
            1 => 'Allgemeines',
            2 => 'Zahnaufhellung'
        );
    }

}

Changelog

[1.0.1]

Added plugin support for categories

[1.0.2]

Fix for question and answer character limit

[1.0.3]

Code format and minor adjustments

[1.1.0]

Mayor refactor and add manageable categories

统计信息

  • 总下载量: 134
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: OSL
  • 更新时间: 2017-06-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固