Skip to content

Instantly share code, notes, and snippets.

Oliver Thiele oliverthiele

Block or report user

Report or block oliverthiele

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
oliverthiele /
Last active Nov 22, 2019
Script for installing a TYPO3 Version 9.5 LTS on a new Ubuntu 18.04 Server
### Before executing this script make a system update:
# apt update; apt --assume-yes dist-upgrade; apt --assume-yes autoremove;
# reboot
# VirtualBox does not work with ipv6, so you have to disable it before running this script:
# sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
# sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
oliverthiele /
Last active Jul 15, 2019
TYPO3 8.7 with a composer based Installation on a Ubuntu 18.04 Server
### Before executing this script make a system update:
# apt update; apt --assume-yes dist-upgrade; apt --assume-yes autoremove;
# git clone
# chmod +x 925bf63b12fac1c92e104b58fb310af1/
# reboot
oliverthiele /
Created Aug 9, 2018
Download TYPO3 sources and update the symlinks for easy TYPO3 Updates (classic way w/o composer)
wget$1 -O typo3_src-${1}.tar.gz
wget${major}/tar.gz.sig -O typo3_src-${1}.tar.gz.sig
wget -qO- | gpg --import
gpg --verify typo3_src-${version}.tar.gz.sig typo3_src-${version}.tar.gz
oliverthiele / RST.xml
Created Nov 30, 2017
PhpStorm Live Templates for *.rst files
View RST.xml
<templateSet group="RST">
<template name="rstRefCoreApi" value=":ref:`Core Api Reference &lt;t3coreapi:$SECTION$&gt;`" description="Core Api Reference" toReformat="false" toShortenFQNames="true">
<variable name="SECTION" expression="" defaultValue="start" alwaysStopAt="true" />
<option name="Bash" value="false" />
<option name="CSS" value="false" />
<option name="CUCUMBER_FEATURE_FILE" value="false" />
<option name="CoffeeScript" value="false" />
<option name="HAML" value="false" />
<option name="HTML" value="false" />
oliverthiele / FluidLayout.html
Created Mar 12, 2017
Some of my favorite Live-Templates for PhpStorm
View FluidLayout.html
{namespace b=OliverThiele\OtBootstrap3\ViewHelpers}
<html xmlns:f="" data-namespace-typo3-fluid="true">
<f:render section="Content" />
oliverthiele / CssStyledContent2FluidStyledContent.sql
Created Sep 14, 2016
TYPO3 DB Updates for switching from EXT:css_styled_conten to EXT:fluid_styled_content
View CssStyledContent2FluidStyledContent.sql
UPDATE tt_content SET CType='textmedia' WHERE tt_content.CType='text';
UPDATE tt_content SET CType='textmedia' WHERE tt_content.CType='textpic';
UPDATE tt_content SET CType='textmedia' WHERE tt_content.CType='images';
UPDATE tt_content LEFT JOIN sys_file_reference ON sys_file_reference.uid_foreign=tt_content.uid AND sys_file_reference.tablenames='tt_content' AND sys_file_reference.fieldname='image' SET tt_content.CType='textmedia', tt_content.assets=tt_content.image, tt_content.image=0, sys_file_reference.fieldname='assets' WHERE tt_content.CType='textpic' OR tt_content.CType='image';
UPDATE be_groups SET explicit_allowdeny=CONCAT(explicit_allowdeny,',tt_content:CType:textmedia:ALLOW') WHERE (explicit_allowdeny LIKE '%tt\\_content:CType:textpic:ALLOW%' OR explicit_allowdeny LIKE '%tt\\_content:CType:image:ALLOW%' OR explicit_allowdeny LIKE '%tt\\_content:CType:text:ALLOW%') AND explicit_allowdeny NOT LIKE '%tt\\_content:CType:textmedia:ALLOW%';
UPDATE be_groups SET explicit_allowdeny=CONCAT(explicit_allowdeny
oliverthiele / realurl_conf.php
Last active Apr 17, 2017
TYPO3 RealURL-Konfiguration Example
View realurl_conf.php
// Not needed in current RealURL versions: $TYPO3_CONF_VARS['FE']['addRootLineFields'] .= ',tx_realurl_pathsegment';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array(
'_DEFAULT' => array(
'init' => array(
'enableCHashCache' => true,
'appendMissingSlash' => 'ifNotFile,redirect[301]',
'enableUrlDecodeCache' => true,
'enableUrlEncodeCache' => true,
'adminJumpToBackend' => true,
oliverthiele / robots.txt
Last active Sep 2, 2019
robots.txt for TYPO3
View robots.txt
User-agent: *
# Only allow URLs generated with RealURL
Disallow: /*?id=*
Disallow: /*&id=*
# L=0 is the default language
Disallow: /*?L=0*
Disallow: /*&L=0*
oliverthiele / Lib.numberedMenu.t3s
Last active Aug 29, 2015
TYPO3 Main Navigation
View Lib.numberedMenu.t3s
lib.numberedMenu = HMENU
lib.numberedMenu {
entryLevel = 1
1 {
wrap = <ul>|</ul>
noBlur = 1
NO = 1
NO {
oliverthiele / Lib.breadcrumb.t3s
Created Aug 19, 2015
TYPO3 Rootline Menu / Breadcrumb with RDFa metadata
View Lib.breadcrumb.t3s
* TYPO3 Rootline menu with RDFa metadata
* @author Oliver Thiele
* @see
lib {
breadcrumb = HMENU
breadcrumb {
special = rootline
You can’t perform that action at this time.