Skip to content

Instantly share code, notes, and snippets.

@magicHatOfTYPO3
Created July 31, 2016 18:53
Show Gist options
  • Save magicHatOfTYPO3/40c0f1880c4bcd37c76f232f2e525c85 to your computer and use it in GitHub Desktop.
Save magicHatOfTYPO3/40c0f1880c4bcd37c76f232f2e525c85 to your computer and use it in GitHub Desktop.
lib.category = COA
lib.category {
10 = CONTENT
10 {
table = sys_category
select {
pidInList = root,-1
join = sys_category_record_mm ON sys_category_record_mm.uid_local = sys_category.uid
where = (uid_foreign = 22) // uid des Inhaltselemente ersetzen bzw. dynamisieren (where.data = ... )
selectFields = title
}
renderObj = TEXT
renderObj.field = title
renderObj.wrap = Kategorie:|
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment