typo3-powermail
БесплатноБез исполняемых скриптовНе проверенGuides Powermail 13+ form development for TYPO3, including form setup, finishers, validators, spam protection, ViewHelpers, PSR-14 events, TypoScript, email…
от dirnbauer★ 33 звезды на GitHubОб этом скилле
TYPO3 Powermail Development
Compatibility: Powermail 13.x currently targets TYPO3 13.4 per Packagist — do not assume v14 until the package declares it. Examples use modern TYPO3 APIs where possible; adjust for your Core version. All examples use PHP 8.2+.
TYPO3 API First: Always use TYPO3's built-in APIs, core features, and established conventions before creating custom implementations. Do not reinvent what TYPO3 already provides. Always verify that the APIs and methods you use exist and are not deprecated in TYPO3 v14 by checking the official TYPO3 documentation.
Supplements:
- SKILL-CONDITIONS.md - Conditional field/page visibility (powermail_cond)
- PHP 8.4 patterns for finishers, validators, and conditions are covered directly in this skill
- SKILL-EXAMPLES.md - Multi-step shop form with Austrian legal types, DDEV SQL + DataHandler CLI
Powermail vs Core EXT:form
These are different systems. Do not mix migration advice between them.
Powermail (in2code/powermail) |
TYPO3 Core EXT:form | |
|---|---|---|
| Purpose | Mail forms built in the Powermail backend module; stored in tx_powermail_* tables |
Declarative forms (often YAML), form framework, finishers defined in YAML/PHP |
| Rendering | Powermail plugins / ViewHelpers / TypoScript | Fluid templates + Core form runtime |
| This skill | Documents Powermail APIs, finishers, validators, events as shipped by in2code | Only where your code also touches EXT:form (bridges, shared sites, dual form stacks) |
Sections labeled EXT:form under v14-Only Changes describe Core form-framework removals (hooks → PSR-14, storage adapters). They apply to custom code that hooks into EXT:form, not to ordinary Powermail-only projects—unless you explicitly integrate both.
1. Architecture Overview
Domain Model Hierarchy
Form (tx_powermail_domain_model_form)
└── Page (tx_powermail_domain_model_page)
└── Field (tx_powermail_domain_model_field)
Mail (tx_powermail_domain_model_mail)
└── Answer (tx_powermail_domain_model_answer)
└── references Field
Plugin Registration
- Pi1 (cached/uncached):
form,create,confirmation,optinConfirm,disclaimer - Pi5 (uncached):
marketing(AJAX tracking)
Composer
composer require in2code/powermail
Typical requirements (always confirm the current release on Packagist): PHP ^8.2, typo3/cms-core: ^13.4 (latest stable line at time of writing), plus ext-json, ext-gd, ext-fileinfo, ext-curl. Do not assume TYPO3 v14 until the package constraint is updated upstream.
2. Field Types
| Type | Key | Value Type | Notes |
|---|---|---|---|
| Text | input |
TEXT (0) | Standard input |
| Textarea | textarea |
TEXT (0) | Multi-line |
| Select | select |
TEXT/ARRAY (0/1) | Multiselect possible |
| Checkbox | check |
ARRAY (1) | Multiple values |
| Radio | radio |
TEXT (0) | Single selection |
| Submit | submit |
— | Form submit button |
| Captcha | captcha |
TEXT (0) | Built-in CAPTCHA |
| Reset | reset |
— | Form reset button |
| Static text | text |
— | Display only |
| Content element | content |
— | CE reference |
| HTML | html |
TEXT (0) | Raw HTML |
| Password | password |
PASSWORD (4) | Hashed storage |
| File upload | file |
UPLOAD (3) | File attachments |
| Hidden | hidden |
TEXT (0) | Hidden input |
| Date | date |
DATE (2) | Datepicker |
| Country | country |
TEXT (0) | Country selector |
| Location | location |
TEXT (0) | Geolocation |
| TypoScript | typoscript |
TEXT (0) | TS-generated content |
Answer Value Types
Answer::VALUE_TYPE_TEXT = 0; // String values
Answer::VALUE_TYPE_ARRAY = 1; // JSON-encoded arrays (checkboxes, multiselect)
Answer::VALUE_TYPE_DATE = 2; // Timestamps
Answer::VALUE_TYPE_UPLOAD = 3; // File references
Answer::VALUE_TYPE_PASSWORD = 4; // Hashed passwords
3. TypoScript Configuration
Essential Settings
plugin.tx_powermail {
settings {
setup {
# Form settings
main {
pid = {$plugin.tx_powermail.settings.main.pid}
form = {$plugin.tx_powermail.settings.main.form}
confirmation = 0
optin = 0
morestep = 0
}
# Receiver mail
receiver {
enable = 1
subject = Mail from {firstname} {lastname}
body = A new mail from your website
senderNameField = firstname
senderEmailField = email
# Override receiver: receiver.overwrite.email = [email protected]
Установить typo3-powermail в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл typo3-powermail?
Guides Powermail 13+ form development for TYPO3, including form setup, finishers, validators, spam protection, ViewHelpers, PSR-14 events, TypoScript, email templates, conditional visibility, and extension points. Use when creating, debugging, or extending powermail forms, mail handling, validation, finishers, powermail_cond behavior, or tx_powermail data.
Как установить скилл typo3-powermail?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл typo3-powermail запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic