This little gist is an attempt to describe my vision for a nested content / grid feature for TYPO3. It contains a description of the vision I have and relates this vision to the current blueprint and WIP which are available at https://wiki.typo3.org/Blueprints/StructuredContentContainers and https://review.typo3.org/#/c/41936/.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As an "External Tool" | |
---------------------- | |
Settings -> Tools -> External Tools | |
Create a new Tool called "CS-Fixer" | |
Program: Select your Docker executable | |
Arguments: run --rm -v $FilePath$:/$FileName$ cytopia/php-cs-fixer fix --rules=@PSR2 /$FileName$ | |
OK -> Done | |
As a "File Watcher" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{%- block form_start -%} | |
{%- do form.setMethodRendered() -%} | |
{% set method = method|upper %} | |
{%- if method in ["GET", "POST"] -%} | |
{% set form_method = method %} | |
{%- else -%} | |
{% set form_method = "POST" %} | |
{%- endif -%} | |
{% if attr.class is defined %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mod { | |
web_layout { | |
// disable translation mode for content elements | |
// backported feature from TYPO3 9.x. See Xclass PageLayoutView.php for details | |
localization.enableTranslate = 0 | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppZap\Tripshop\Persistence; | |
use TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement; | |
class QueryResult extends \TYPO3\CMS\Extbase\Persistence\Generic\QueryResult | |
{ | |
/** | |
* Overwrites the original implementation of Extbase | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function mapStylesUrlArgs($mapStyleJson) | |
{ | |
$params = []; | |
foreach (json_decode($mapStyleJson, true) as $style) { | |
$styleString = ''; | |
if (isset($style['stylers']) && count($style['stylers']) > 0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace DmitryDulepov\Sample\Xclass; | |
class Typo3DbQueryParser extends \TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbQueryParser { | |
/** | |
* Fixes incorrect localisation handling in Extbase. | |
* | |
* @param string $tableName | |
* @param array $sql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace MyVendor\MyExtension\Property\TypeConverters | |
use TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter | |
class MyPersistentObjectConverter extends PersistentObjectConverter { | |
/** | |
* @var string | |
*/ |
NewerOlder