Skip to content

Instantly share code, notes, and snippets.

View kaystrobach's full-sized avatar
🎯
Focusing

Kay Strobach kaystrobach

🎯
Focusing
View GitHub Profile
@ErHaWeb
ErHaWeb / README.md
Last active March 15, 2024 19:04
TYPO3 Auto-Installation Bash scripts to install and remove v10, v11, v12, v13 and dev

TYPO3 Auto-Installation

Since I need a TYPO3 test environment from time to time, I use these bash scripts for the automatic installation and removal of TYPO3. The installation script currently supports TYPO3 versions 10, 11, 12, 13 and dev.

Installation

I have stored the scripts under:

~/.shellscripts/typo3/

I use the following aliases:

@einpraegsam
einpraegsam / AbstractJsonLdSchemaViewHelper.php
Created April 11, 2020 17:39
JSON LD ViewHelpers to create information for Google & Co. out of pages or other records. Files in this examples in EXT:in2template/Classes/ViewHelpers/JsonLdSchema/
<?php
namespace In2code\In2template\ViewHelpers\JsonLdSchema;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
/**
* Class AbstractJsonLdSchemaViewHelper
*/
abstract class AbstractJsonLdSchemaViewHelper extends AbstractViewHelper
{
@koehnlein
koehnlein / .gitlab-ci.yml
Last active December 1, 2021 15:21
simple deployment based on TYPO3 Surf and Gitlab CI
stages:
- deploy
# use caching
cache:
key: "$CI_BUILD_REF_NAME/$CI_BUILD_STAGE"
paths:
- .caches/
variables:
tt_content.image.20.1.layout.default.element.override.cObject = CASE
tt_content.image.20.1.layout.default.element.override.cObject {
key.data = file:current:extension
svg = TEXT
svg {
value = <img src="{file:current:publicUrl}" width="{field:imagewidth}" height="{field:imageheight}"###PARAMS######ALTPARAMS######BORDER######SELFCLOSINGTAGSLASH###>
insertData = 1
}
}
@aertmann
aertmann / Caches.yaml
Last active January 6, 2016 23:32
Prevent session clearing on cache flushing.
# Flow 3.0+
Flow_Session_Storage:
persistent: TRUE
Flow_Session_MetaData:
persistent: TRUE
# Flow 2.0-2.3 (only works with Surf deployment – not flow:cache:flush command)
Flow_Session_Storage:
backendOptions:
@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',