Skip to content

Instantly share code, notes, and snippets.

@Zillion01
Zillion01 / TYPO3 11.5 flexform image link (not fal)
Created June 9, 2022 11:38
TYPO3 11.5 flexform image link (not fal)
@Zillion01
Zillion01 / TYPO3_news_tt_content_migration.sql
Created August 27, 2019 14:45
SQL to manually migrate TYPO3 EXT News tt_content records for newer versions of News
UPDATE tt_content
INNER JOIN tx_news_domain_model_news_ttcontent_mm ON (tt_content.uid = tx_news_domain_model_news_ttcontent_mm.uid_foreign)
SET tt_content.tx_news_related_news = tx_news_domain_model_news_ttcontent_mm.uid_local,
tt_content.sorting = tx_news_domain_model_news_ttcontent_mm.sorting
@Zillion01
Zillion01 / slug.php
Last active August 27, 2019 14:44
Generic PHP function for TYPO3 to generate routeEnhancer slugs for a table
/**
* Generate slugs for a table
*
* Author: Jacco van der Post <[email protected]>
*
* @param string $table - The table to create the slugs in
* @param string $slugFieldName - The slug or path segment fieldname
* @param string $title - The field where the slug will be based on
* @param bool $forceOverwrite - Forces rewrite of all slug values
*