netzmacht/contao-packagist-package

显示 Packagist 包信息。

安装: 5

依赖项: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

开放问题: 0

类型:contao-bundle

dev-master / 1.0.x-dev 2021-02-10 13:48 UTC

This package is auto-updated.

Last update: 2024-09-10 21:54:25 UTC


README

Build Status Version License Downloads Contao Community Alliance coding standard

此扩展为 Contao CMS 提供了 Bootstrap 4 网格工具。

功能

  • 在主题设置中管理网格定义
  • 内容元素
  • 表单元素
  • 网格模块
  • 与主题设置一起导入/导出

变更日志

查看 变更日志

需求

  • PHP 7.1
  • Contao ~4.4

安装

管理版

使用管理版时,安装此包非常简单。只需在 Contao 管理器中搜索包并安装即可。或者您也可以使用 CLI。

# Using the contao manager
$ php contao-manager.phar.php composer require contao-bootstrap/grid~2.0@beta

# Using composer directly
$ php composer.phar require contao-bootstrap/grid~2.0@beta

标准版

没有 Contao 管理器,您还必须注册该套餐

class AppKernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('metapalettes', $this->getRootDir()),
            new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('multicolumnwizard', $this->getRootDir()),
            new ContaoBootstrap\Core\ContaoBootstrapCoreBundle(),
            new ContaoBootstrap\Grid\ContaoBootstrapGridBundle()
        ];
    }
}