oxid-esales/smarty-component

该组件支持 smarty 模板引擎。

安装次数: 8,708

依赖关系: 4

建议者: 0

安全性: 0

星标: 1

关注者: 5

分支: 0

类型:oxideshop-component

v1.0.0 2023-04-26 13:23 UTC

This package is auto-updated.

Last update: 2024-09-16 11:44:46 UTC


README

包括 OXID eShop 的 Smarty 模板引擎

兼容性

  • b-7.0.x 分支与 OXID eShop 7.x 编译版本兼容

安装

该组件可以通过以下方式安装

composer require oxid-esales/smarty-component

配置

从 v7 开始,OXID eShop 使用 Twig 作为默认模板引擎,并将初始数据以 Twig 模板格式存储。请运行以下命令以将原始初始数据替换为与 Smarty 兼容的数据:

vendor/bin/doctrine-migrations migrate --configuration vendor/oxid-esales/smarty-component/migration/migrations.yml --db-configuration vendor/oxid-esales/smarty-component/migration/migrations-db.php

注意:如果您已经添加了自定义内容,请勿运行此命令。DB 表中的 oxcontents 数据将被覆盖!

许可证

有关详细信息,请参阅 LICENSE 文件。

错误和问题

如果您遇到任何错误或问题,请在 https://bugs.oxid-esales.comOXID eShop(所有版本) 部分,在 Smarty 引擎 类别下报告。