Skip to content

Instantly share code, notes, and snippets.

View pniederlag's full-sized avatar

Peter Niederlag pniederlag

View GitHub Profile
rebuild started
01.06.2018 05:21:32
1593581ueuie
erunireaundenr
rnudnenuden
rebuild finished
15935udanedue
01.06.2018 06:01:09
rebuild started
02.06.2018 09:14:34
@pniederlag
pniederlag / site-config.yml
Last active November 19, 2020 19:03
TYPO3 multi-domain/site-config with selection by TYPO3_CONTEXT
# example typo3 site-config for multi-site project with different instances/hosts by TYPO3_CONTEXT
# (not verified/tested yet)
rootPageId: 100
base: 'https://first-project.example.com/'
baseVariants:
-
base: 'https://xx.example.local/'
condition: 'applicationContext == "Development/Server1"'
@pniederlag
pniederlag / sqlTreeQueryTYPO3.php
Last active April 18, 2024 21:07
SQL-Query PageTree TYPO3 CMS
/**
* custom sql to query pageTree
* efficient to query large trees (>30.000 records)
*
* returns flat array with page records
*
* @param int $uid uid of page to start with
* @param string $where optional where query part to limit results
* @param int $limit optional limit for query
* @return array selected records