Skip to content

Commit

Permalink
feat: move footer to initialData
Browse files Browse the repository at this point in the history
REHLTYEXT-81
  • Loading branch information
dvdmlln committed Jan 31, 2024
1 parent 4aa4a1c commit e2c241d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 40 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ initialData {
}
}
}
footer = CONTENT
footer {
table = tt_content
select {
orderBy = sorting
where = {#colPos} = 1687238527
max = 1
}
slide = -1
stdWrap.ifEmpty.cObject = JSON
}
}
}
}
Expand Down
16 changes: 6 additions & 10 deletions Configuration/TypoScript/ContentElement/FooterContent.typoscript
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
tt_content.footer_content =< lib.contentElement
tt_content.footer_content = JSON
tt_content.footer_content {
fields {
content {
dataProcessing {
10 = Remind\Headless\DataProcessing\FlexFormProcessor
10 {
fieldName = pi_flexform
as = flexform
}
}
dataProcessing {
10 = Remind\Headless\DataProcessing\FlexFormProcessor
10 {
fieldName = pi_flexform
as = flexform
}
}
}
3 changes: 0 additions & 3 deletions Configuration/TypoScript/constants.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@ plugin.tx_headless {
pid = 0
pid := getEnv(LOGIN_PID)
}
footer {
typeNum = 836
}
}

0 comments on commit e2c241d

Please sign in to comment.