Last active
August 21, 2018 06:16
-
-
Save hasenbalg/a132366456d9e590d79ac82e424b20e5 to your computer and use it in GitHub Desktop.
typo3 pass along footer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<main> | |
<f:format.raw> | |
{footer_col1} | |
</f:format.raw> | |
</main> | |
<footer> | |
<f:format.raw> | |
{footer_col1} | |
</f:format.raw> | |
<f:format.raw> | |
{footer_col2} | |
</f:format.raw> | |
<f:format.raw> | |
{footer_col3} | |
</f:format.raw> | |
<f:format.raw> | |
{footer_col4} | |
</f:format.raw> | |
</footer> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mod.web_layout.BackendLayouts { | |
nimm_mich { | |
title = Nimm mich! | |
icon = EXT:example_extension/Resources/Public/Images/BackendLayouts/default.gif | |
config { | |
backend_layout { | |
colCount = 4 | |
rowCount = 2 | |
rows { | |
1 { | |
columns { | |
1 { | |
name = Hauptinhalt | |
colspan = 4 | |
colPos = 0 | |
} | |
} | |
} | |
2 { | |
columns { | |
1 { | |
name = Spalte 1 | |
colPos = 1 | |
allowed { | |
CType = text | |
} | |
} | |
2 { | |
name = Spalte 2 | |
colPos = 2 | |
allowed { | |
CType = text | |
} | |
} | |
3 { | |
name = Spalte 3 | |
colPos = 3 | |
allowed { | |
CType = text | |
} | |
} | |
4 { | |
name = Spalte 4 | |
colPos = 4 | |
allowed { | |
CType = text | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define template | |
page = PAGE | |
page.10 = FLUIDTEMPLATE | |
page.10 { | |
file = EXT:example_extension/Resources/Private/Templates/FluidTemplate/index.html | |
variables { | |
# Backend content variable definition for index.html template generated by TTT | |
content_body = CONTENT | |
content_body.table = tt_content | |
content_body.select { | |
orderBy = sorting | |
where = colPos = 0 | |
} | |
footer_col1 = CONTENT | |
footer_col1.table = tt_content | |
footer_col1.select { | |
orderBy = sorting | |
where = colPos = 1 | |
} | |
footer_col2 = CONTENT | |
footer_col2.table = tt_content | |
footer_col2.select { | |
orderBy = sorting | |
where = colPos = 2 | |
} | |
footer_col3 = CONTENT | |
footer_col3.table = tt_content | |
footer_col3.select { | |
orderBy = sorting | |
where = colPos = 3 | |
} | |
footer_col4 = CONTENT | |
footer_co4l.table = tt_content | |
footer_co4l.select { | |
orderBy = sorting | |
where = colPos = 4 | |
} | |
} | |
} | |
#passes along the footer content from the root page | |
page.10.variables.footer_col1.slide = -1 | |
page.10.variables.footer_col2.slide = -1 | |
page.10.variables.footer_col3.slide = -1 | |
page.10.variables.footer_col4.slide = -1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment