承接 trilobit-gmbh/contao-constants-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

trilobit-gmbh/contao-constants-bundle

最新稳定版本:2.0.3

Composer 安装命令:

composer require trilobit-gmbh/contao-constants-bundle

包简介

Contao 4 / Contao 5 constants bundle

README 文档

README

Das Constants Bundle fügt dem Backend von Contao den Punkt Konstanten hinzu, wo Sie mit einer Bezeichnung und einem dazugehörenden Wert eine oder mehrere Konstanten festlegen können. Diese können dann wiederum durch einen Insert-Tag überall in ihrer Contao Installation eingefügt werden. Das hat den Vorteil das Sie bestimmte Werte an mehreren Stellen einfügen können, sie aber nicht mehr alle einzeln ändern müssen, sondern dies nun über den Punkt Konstanten machen könne. Zusätzlich ist es möglich Konstanten mit einem weiteren Insert-Tag statt eines Wertes anzulegen, wodurch das Einbinden von Bildern oder einzelnen Artikeln ermöglicht wird.

Aufbau

Damit die Erweiterung den Insert-Tag als solchen erkennen kann, muss eine bestimmte Struktur benutzt werden. Diese sieht wie folgt aus: {{const::Mitarbeiter}} Dies würde dann den angegebenen Wert der Konstante "Mitarbeiter" anzeigen.

Constants Bundle

The Constants Bundle adds Constants to the backend of Contao, where you can specify one or more constants with a label and its associated value. These can then be inserted through an insert tag throughout your Contao installation. This has the advantage that you can insert certain values in several places, but you no longer have to change them all individually. In addition, it is possible to create constants with another insert tag instead of a value, which allows the inclusion of images or individual articles.

Structure

For the extension to recognize the insert tag as such, a particular structure must be used. This could look like this: {{const::Employee}} This would then output the specified value of the constant "Employee".

Screenshots

Konstanten Übersicht / Constants overview

Einfache Konstante / Simple constant

Konstante mit einem Insert-Tag / Constant with an insert-tag

Konstante in einem Artikel / Constants in an article

Ausgabe der Konstante / Output of the constants

Installation

Install the extension via composer: trilobit-gmbh/contao-constants-bundle.

Configuration

You can define the following configuration parameters via your config.yml file:

trilobit_constants: allow_html: true # default: false; allow the unescaped storage of your html-based constants

Compatibility

  • Contao version ~4.9
  • Contao version ~4.13
  • Contao version ~5.0

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固