Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" datatype="plaintext" original="EXT:vt12/Resources/Private/Language/locallang.xlf" date="2023-05-09T20:22:32Z" product-name="vt12">
<header/>
<body>
<trans-unit id="vt12.logoAlt" resname="vt12.logoAlt">
<source>Alt-Text: Alternative text for the logo, important for accessibility</source>
</trans-unit>
</body>
</file>
@wowaTYPO3
wowaTYPO3 / config.yaml
Last active March 2, 2023 06:38
How to integrate the imap module for PHP in DDEV projects.
name: newsletter
type: php
docroot: public
php_version: "7.4"
webserver_type: apache-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<nav id="menu">
<header class="major">
<h2>
<f:translate key="LLL:EXT:vt11/Resources/Private/Language/locallang.xlf:menu" />
</h2>
</header>
<ul>
<f:for each="{mainMenu}" as="item">
@wowaTYPO3
wowaTYPO3 / Input.html
Last active January 27, 2023 06:30
/Resources/Private/Extensions/powermail/Partials/Form/Field/Input.html
<div
class="powermail_fieldwrap powermail_fieldwrap_type_input powermail_fieldwrap_{field.marker} {field.css} {settings.styles.framework.fieldAndLabelWrappingClasses}">
<f:render partial="Form/FieldLabel" arguments="{_all}" />
<div class="{settings.styles.framework.fieldWrappingClasses}">
<f:if condition="{vh:validation.fieldTypeFromValidation(field:field)} == 'email'">
<f:then>
<f:form.textfield type="{vh:validation.fieldTypeFromValidation(field:field)}" property="{field.marker}"
placeholder="{field.placeholder}" value="{vh:misc.prefillField(field:field, mail:mail)}"
class="powermail_input {settings.styles.framework.fieldClasses} {vh:validation.errorClass(field:field, class:'powermail_field_error')}"
composer create-project cpsit/project-builder cpstest
Creating a "cpsit/project-builder" project at "./cpstest"
Info from https://repo.packagist.org: #StandWithUkraine
Installing cpsit/project-builder (1.0.1)
- Installing cpsit/project-builder (1.0.1): Extracting archive
Created project in /Users/wolfgang/htdocs/cpstest
Loading composer repositories with package information
Updating dependencies
Lock file operations: 109 installs, 0 updates, 0 removals
- Locking armin/editorconfig-cli (1.5.2)
{
"repositories": [
{ "type": "composer", "url": "https://composer.typo3.org/" },
{ "type": "path", "url": "./Packages/*" }
],
"name": "typo3/cms-base-distribution",
"description" : "TYPO3 CMS Base Distribution",
"license": "GPL-2.0-or-later",
"require": {
"typo3/cms-backend": "^11.5",
# Load default processing options
imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }
# Add configuration for the editor
# For complete documentation see http://docs.ckeditor.com/#!/api/CKEDITOR.config
editor:
config:
# Load default processing options
imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }
# Add configuration for the editor
# For complete documentation see http://docs.ckeditor.com/#!/api/CKEDITOR.config
editor:
config:
{
"repositories": [
{ "type": "composer", "url": "https://composer.typo3.org/" },
{ "type": "path", "url": "./Packages/*" }
],
"name": "typo3/cms-base-distribution",
"description" : "TYPO3 CMS Base Distribution",
"license": "GPL-2.0-or-later",
"require": {
"typo3/cms-backend": "^11.5",
{
"repositories": {
"0": {
"type": "path",
"url": "./Packages/t3see2021"
}
},
"require": {
"typo3/cms-about": "^11.5",
"typo3/cms-backend": "^11.5",