Skip to content

Instantly share code, notes, and snippets.

View lolli42's full-sized avatar
🇺🇦

Christian Kuhn lolli42

🇺🇦
View GitHub Profile
@geldmacher
geldmacher / ConditionFunctionsProvider.php
Last active February 16, 2023 16:37
Custom TYPO3 condition for checking if a specific extension is loaded (with custom Symfony ExpressionLanguage provider)
<?php
declare(strict_types=1);
namespace Vendor\Extension\ExpressionLanguage\FunctionsProvider;
use Symfony\Component\ExpressionLanguage\ExpressionFunction;
use Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface;
/**
@ohader
ohader / typo3-documentation-compare.sh
Last active March 13, 2018 12:13
TYPO3 Core: Search for similar documentation *.rst files
#!/bin/bash
##############################################################################################
# searching for similar documentation *.rst files in e.g.
# typo3/sysext/core/Documentation/Changelog organized in
# different sub-directories
#
# @license MIT
# @author Oliver Hader <oliver@typo3.org>
##############################################################################################
@pgampe
pgampe / .gource
Created August 9, 2013 19:52
Render videos of a git repository. This is my config for TYPO3 CMS 4.6. The perl script for fetching the avatar images might be broken. It is not really needed. And it does store all images as PNG files, but some of them are JPEGs...
[display]
#fullscreen=true
#viewport=1680x1050
viewport=1280x720
[gource]
camera-mode=overview
colour-images=true
file-idle-time=5
hide=filenames,dirnames,mouse,progress,date
@maddy2101
maddy2101 / gist:5668835
Last active March 12, 2021 12:08
TCA, Model and Fluid Partial to display FAL images as a simple gallery using TYPO3 and Extbase 6.1
SQL:
images int(11) unsigned DEFAULT '0',
=======================================================
TCA
....
'images' => array(
'exclude' => 0,
'label' => 'images',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'images',