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
@gabrielRamaker
gabrielRamaker / parseFunc.ts
Created May 10, 2016 08:00
Typoscript to modify typo3 filelinks to add icon and filesize without userFunc
lib.parseFunc.tags.link {
stdWrap.wrap {
if {
value = file
equals.cObject = TEXT
equals.cObject {
data = parameters:allParams
split {
token = :
cObjNum = 1 || 2