Skip to content

Instantly share code, notes, and snippets.

View exotec's full-sized avatar

Alexander Weber exotec

View GitHub Profile
@iamandrewluca
iamandrewluca / MyModel.php
Last active June 17, 2022 12:34
typo3 extbase categories
<?php
/**
* categories
*
* \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\Category>
* @lazy
*/
protected $categories;
/**
* MyModel constructor.
@githubrsys
githubrsys / TYPO3 - add sorting to fe_users.md
Last active March 16, 2018 18:11
add sorting to fe_user with own extension

scope

Valid from TYPO3 6.x

summary

Add sorting to fe_users with own Extension

ext_tables.php

\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('fe_users');
@stephenhardy
stephenhardy / git-clearHistory
Created April 26, 2013 22:14
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git