Skip to content

Commit

Permalink
Bring back changes to typsocript (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszuznanski authored Feb 14, 2023
1 parent 052a257 commit 8097240
Showing 1 changed file with 1 addition and 51 deletions.
Original file line number Diff line number Diff line change
@@ -1,56 +1,6 @@
lib.contentElementWithHeader = JSON
lib.contentElementWithHeader =< lib.contentElement
lib.contentElementWithHeader {
fields {
id = INT
id {
field = uid
}
type = TEXT
type {
field = CType
}
colPos = INT
colPos {
field = colPos
}
categories = COA
categories {
10 = CONTENT
10 {
table = sys_category
select {
pidInList = root
selectFields = sys_category.title
join = sys_category_record_mm on sys_category_record_mm.uid_local = sys_category.uid
where {
field = uid
wrap = AND sys_category_record_mm.tablenames = 'tt_content' AND sys_category_record_mm.uid_foreign=|
}
}
renderObj = TEXT
renderObj {
field = title
wrap = |###BREAK###
}
}
stdWrap.split {
token = ###BREAK###
cObjNum = 1 |*|2|*| 3
1 {
current = 1
stdWrap.wrap = |
}
2 {
current = 1
stdWrap.wrap = ,|
}
3 {
current = 1
stdWrap.wrap = |
}
}
}
appearance =< lib.appearance
content {
fields {
header = TEXT
Expand Down

0 comments on commit 8097240

Please sign in to comment.