guave/insertmodulebyalias-bundle 问题修复 & 功能扩展

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

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

guave/insertmodulebyalias-bundle

最新稳定版本:3.0.0

Composer 安装命令:

composer require guave/insertmodulebyalias-bundle

包简介

Insert Module by Alias Insert Tag for Contao 5.0+

README 文档

README

This is a utility which lets you reference a module by alias instead of ID. This is important if you have a deployment process with multiple stages, databases and systems that do not ultimately share the same module ids.

The DCA of tl_module is extended by a field "alias".

Requirements

  • Contao 5.0+
  • PHP 8.1+

Install

$ composer require guave/insertmodulebyalias-bundle

Usage

To load a module you can use the following syntax in your templates:

{{insert_module_alias::modulealias}}

If you need modules for specific languages, add the language to the alias like _en and then load it in your template with:

{{insert_module_alias::modulealias_en}}

Since Contao 4.13 you can also create a "Root page dependent Modules" Module. There you can select which module should be loaded for each root page.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: ISC
  • 更新时间: 2022-03-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固