Skip to content

Instantly share code, notes, and snippets.

View stefansl's full-sized avatar

Stefan Schulz-Lauterbach stefansl

View GitHub Profile
@stefansl
stefansl / contao-db-update.php
Last active October 17, 2019 21:01
Modified path upgrade script for contao. No config editing necessary. Copy in your Contao root and run.
<?php
/*
When updating from Contao 2 to Contao 3, you must not rename the tl_files folder to files!
If you want to re­name the folder, you have to take the following steps:
· Complete the version 3 update in the install tool
· Then rename the upload folder in the back end settings to files
· Last run the modified version of Tristan's script
@stefansl
stefansl / .csscomb.json
Created February 28, 2018 18:25
This is my config for CSS Comb - sorting as here http://backendbutters.github.io/code-guide/#css-declaration-order
{
"always-semicolon": true,
"color-case": "lower",
"block-indent": 4,
"color-shorthand": true,
"element-case": "lower",
"eof-newline": true,
"leading-zero": false,
"quotes": "double",
"sort-order-fallback": "abc",
@stefansl
stefansl / importer_members.php
Last active January 29, 2021 14:45
Importscript frontend users Typo3 -> Contao. Will not work in every installation. Use it as help for your script
<html>
<head>
<title>member import - Typo3->Contao</title>
<meta charset="utf-8">
</head>
<body>
<?php