Skip to content

Instantly share code, notes, and snippets.

View gabrielRamaker's full-sized avatar

Gabriël Ramaker gabrielRamaker

  • Dagelijkse Kost
  • Culemborg
View GitHub Profile
@Megafry
Megafry / parseFunc.typoscript
Created September 23, 2020 11:29
TypoScript to extend TYPO3 lib.parseFunc by adding the file-extention as data attribute without userFunc.
lib.parseFunc {
tags.a.typolink {
ATagParams.stdWrap.cObject = FILES
ATagParams.stdWrap.cObject {
stdWrap.if {
isPositive.data = parameters:href
isPositive.stdWrap.replacement {
10 {
search = t3://file?uid=
replace =