team23/module-core

核心扩展向adminhtml系统设置添加了一个带有LOGO的TEAM23标签。

安装: 344

依赖者: 2

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:magento2-module

1.2.0 2024-06-17 15:17 UTC

This package is auto-updated.

Last update: 2024-09-17 15:54:28 UTC


README

TEAM23为Magento 2的核心扩展

核心扩展向adminhtml系统设置添加了一个带有LOGO的TEAM23标签。这允许将所有提供设置的TEAM23扩展分组。

使用方法

在您的自定义Magento 2扩展中,将id为team23的标签添加到您的设置中。

例如

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
    <system>
        <section id="your_configuration_id"
                 translate="label"
                 sortOrder="1"
                 showInDefault="1"
                 showInWebsite="1"
                 showInStore="1">
            <label>TEAM23 YOUR EXTENSION</label>
            <tab>team23</tab>
            ...
        </section>
    </system>
</config>

请确保您的组件将在Team23_Core扩展之后加载,通过在您的module.xml中添加一个序列来实现。示例

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
    <module name="Team23_YourExtension">
        <sequence>
            <module name="Team23_Core"/>
        </sequence>
    </module>
</config>

通过Composer安装

composer require team23/module-core

现在使用bin/magento setup:upgrade注册模块。