Skip to content

Instantly share code, notes, and snippets.

peterkraume / Page.ts
Created July 20, 2017 09:51
Backport for TYPO3 8.7: PageLayoutView - Allow to disable copy- / translate- buttons
mod {
web_layout {
// disable translation mode for content elements
// backported feature from TYPO3 9.x. See Xclass PageLayoutView.php for details
localization.enableTranslate = 0
githubrsys /
Last active July 20, 2022 09:59
TYPO3 fluid VHS: Group elements with wrap without Modulo


Imagine you have a list of elements. E.g. some DIV's (or something else) and you want to surround or wrap blocks or chunks of 3 with an <li> element.

Expected output Code

biesior / AdditionalConfiguration.php
Last active May 15, 2017 08:38
TYPO3 Custom condition to check if beLayout selected for page or its parent(s) matches required value
* Condition to check if beLayout selected for page or its parent(s) matches required value
* @param int $layout UID of layout to check
* @return bool True if first `found be_layout` OR `backend_layout_next_level` matches the param
function user_beLayout($layout) {
CarstenHager / TS Config Root Page
Last active January 4, 2018 10:12
Owl Slider Typo3 Gridelements
title = Owl Slider
description = Beschreibung
flexformDS = FILE:fileadmin/templates/default/ext/owl-slider/flexform.xml
frame = 1
config {
colCount = 1
piscisaureus /
Created August 13, 2012 16:12
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url =

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: