Skip to content

Instantly share code, notes, and snippets.

View FileTypeValidator.php
namespace My\FoobarCom\Form\Validation;
/* *
* This script belongs to the TYPO3 Flow package "Neos.Form". *
* *
* It is free software; you can redistribute it and/or modify it under *
* the terms of the GNU Lesser General Public License, either version 3 *
* of the License, or (at your option) any later version. *
lorenzulrich / ConfirmationFinisher.php
Created Jan 10, 2022
Neos Form Builder Confirmation Finisher with Fluid
View ConfirmationFinisher.php
namespace Visol\FoobarCom\Form\Finishers;
use Neos\Flow\Annotations as Flow;
use Neos\FluidAdaptor\View\StandaloneView;
use Neos\Form\Core\Model\AbstractFinisher;
use Neos\Form\Exception\FinisherException;
use Neos\Utility\ObjectAccess;
View ext-tika-exif-width-height.patch
From dfd8bbe308f92687b6bfc0096ebb58ddd7e593dd Mon Sep 17 00:00:00 2001
From: Andy Meier <>
Date: Tue, 15 Dec 2020 12:53:59 +0100
Subject: [PATCH] [BUGFIX] wrong width and height properties taken from EXIF
(refs #20853)
Classes/Service/Extractor/MetaDataExtractor.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
View DataMapperViewHelper.php
* This file is part of the "foobarsite" Extension for TYPO3 CMS.
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
namespace Visol\Foobarsite\ViewHelpers;
lorenzulrich / SetPropertyUsingEel.php
Created Nov 18, 2020
Custom SetPropertyUsingEel transformation for Neos CMS Node Migrations
View SetPropertyUsingEel.php
namespace My\FoobarCom\Migration\Transformations;
use Neos\Flow\Annotations as Flow;
use Neos\ContentRepository\Domain\Factory\NodeFactory;
use Neos\ContentRepository\Domain\Service\ContextFactory;
use Neos\ContentRepository\Domain\Model\NodeData;
use Neos\ContentRepository\Migration\Transformations\AbstractTransformation;
use Neos\Eel\EelEvaluatorInterface;
lorenzulrich / GetValueViewHelper.php
Created Jun 9, 2020
ViewHelper used to read the value of a current template variable.
View GetValueViewHelper.php
namespace My\Site\ViewHelpers;
* ### Variable: Get
* ViewHelper used to read the value of a current template
* variable. Can be used with dynamic indices in arrays:
lorenzulrich / ElementConfigurationViewHelper.php
Last active Aug 16, 2019
In order to use frontend validation in a Neos.FormBuilder form, the properties "required", "maxlength" as well as the validators in use need to be evaluated to generate the respective attributes for validation. This ViewHelper implements some common validators and generates `data-` attributes for ParsleyJS (
View ElementConfigurationViewHelper.php
namespace Acme\Site\ViewHelpers\Form\FrontendValidation;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Validation\Validator\AbstractValidator;
use Neos\Flow\Validation\Validator\AlphanumericValidator;
use Neos\Flow\Validation\Validator\EmailAddressValidator;
use Neos\Flow\Validation\Validator\IntegerValidator;
use Neos\Flow\Validation\Validator\NotEmptyValidator;
lorenzulrich / BgSetUsage.html
Last active Nov 14, 2018
ResponsiveImageViewHelper and SrcSetViewHelper for Responsive Images using lazysizes/bgset
View BgSetUsage.html
<div class="lazyload" data-bgset="{v:srcSet(image: media.1, ratio: 1, maxWidth: 1920)}">
{namespace v=Visol\Foobar\ViewHelpers}
lorenzulrich / typo3-cms-linkhandler-record-and language-link-migration.patch
Created Jun 25, 2018
TYPO3 8.7: Core patch to migrate links from EXT:linkhandler to built-in link handling functionality
View typo3-cms-linkhandler-record-and language-link-migration.patch
lorenzulrich / AbstractApiController.php
Created Apr 23, 2018
TraceableJob for Flow Framework
View AbstractApiController.php
namespace Visol\Foo\Controller;
* This file is part of the Visol.Foo package.
use TYPO3\Flow\Annotations as Flow;
use TYPO3\Flow\Mvc\Controller\ActionController;
use TYPO3\Flow\Mvc\View\JsonView;