andreaskiessling/form-dynamic-recipient 问题修复 & 功能扩展

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

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

andreaskiessling/form-dynamic-recipient

Composer 安装命令:

composer require andreaskiessling/form-dynamic-recipient

包简介

Adds new form select type, which shows recipient records of a given page. This information can be used as dynamic recipient for the form data.

README 文档

README

This extension adds simple database records, that can be used to generate a select field in the frontend. The selected option can be accessed with an assigned alias and thus be used as a dynamic recipient, e.g. in the Recipient address field.

Use the old release from extrameile/form-dynamic-recipient if you need support for TYPO3 <= 12.4. Further development and support will happen in this repository.

Installation via composer

composer require andreaskiessling/form-dynamic-recipient

Setup

The backend module TypoScript should be automatically loaded through ext_localconf.php

Without Site Sets

The ext_typoscript_setup.typoscript should provide the yaml inclusion for the frontend output.

With Site Sets

Either include the config manually

@import 'EXT:form_dynamic_recipient/Configuration/TypoScript/setup.typoscript'

or use the provided Set with the dependency for typo3/form

dependencies:
  - andreaskiessling/formdynamicrecipient

Usage

  • Create database records with a label and target email address
  • add a select field of type Selectable recipient to the form, configure the page to load the values from and the variable to fill with the selected value: dynamicRecipient is preset when adding the field and is not configurable in the form manager, only directly in the YAML file
  • New with version 3.x: leave the page field empty in the form yaml to load the recipients from the page with the form plugin
  • Configure the Email to receiver finisher with {dynamicRecipient.email} and {dynamicRecipient.label} - set the form field to required, if you use {dynamicRecipient.email} as the target email address.

Running phpstan

.Build/bin/phpstan analyse --memory-limit=1G -l6 .

Resources

Contributors

Thanks to Thomas Löffler (spoonerWeb) and Hawkeye1909 for your contributions!

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2025-03-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固