Skip to content

Instantly share code, notes, and snippets.

Avatar

Stefan Schulz-Lauterbach stefansl

View GitHub Profile
@stefansl
stefansl / contao-db-update.php
Last active Oct 17, 2019
Modified path upgrade script for contao. No config editing necessary. Copy in your Contao root and run.
View contao-db-update.php
<?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
View .csscomb.json
{
"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 Jan 29, 2021
Importscript frontend users Typo3 -> Contao. Will not work in every installation. Use it as help for your script
View importer_members.php
<html>
<head>
<title>member import - Typo3->Contao</title>
<meta charset="utf-8">
</head>
<body>
<?php