Skip to content

Instantly share code, notes, and snippets.

@rr-it
rr-it / .gitattributes
Created February 5, 2024 11:59
Git hook to call `git submodule update` automatically via yorkie and Node.js
# Files excluded from git packages
.githooks/ export-ignore
@rr-it
rr-it / README.md
Last active January 7, 2024 16:12
DiscussionForumPosting - schema markup test with missing text-attribute

DiscussionForumPosting schema markup test

@rr-it
rr-it / dynamicRecipients.form.yaml
Created February 12, 2022 17:22 — forked from kitzberger/FormSetup.yaml
TYPO3 form with dynamic recipients
identifier: formWithDynRecipients
label: 'Form with dynamic recipients'
type: Form
prototypeName: standard
renderingOptions:
submitButtonLabel: Submit
finishers:
-
identifier: EmailToReceiver
options: &emailToReceiverOptions
@rr-it
rr-it / powermail-textarea_multiline-emails.diff
Last active November 24, 2020 14:58
TYPO3 Powermail Issue on multi-line text in html mails
diff -ru a/Classes/Domain/Repository/MailRepository.php b/Classes/Domain/Repository/MailRepository.php
--- a/Classes/Domain/Repository/MailRepository.php 2017-08-22 15:27:42.155674340 +0200
+++ b/Classes/Domain/Repository/MailRepository.php 2017-08-22 14:52:23.296258864 +0200
@@ -381,7 +381,7 @@
* @param bool $htmlSpecialChars
* @return array
*/
- public function getVariablesWithMarkersFromMail(Mail $mail, $htmlSpecialChars = false)
+ public function getVariablesWithMarkersFromMail(Mail $mail, $htmlSpecialChars = false, $nl2br = false)
{
@rr-it
rr-it / powermail-textarea_multiline-confirmation_page.diff
Created August 22, 2017 13:10
TYPO3 Powermail Issue on textarea with active confirmation page
diff -ru a/Resources/Private/Templates/Form/Confirmation.html b/Resources/Private/Templates/Form/Confirmation.html
--- a/Resources/Private/Templates/Form/Confirmation.html 2017-08-22 12:03:56.823729265 +0200
+++ b/Resources/Private/Templates/Form/Confirmation.html 2017-08-22 12:23:34.000000000 +0200
@@ -68,7 +68,14 @@
</f:for>
</f:then>
<f:else>
- <f:form.hidden property="{answer.field.marker}" value="{answer.value}" />
+ <f:if condition="{answer.field.type} == 'textarea'">
+ <f:then>