Created
April 8, 2023 14:17
-
-
Save joekolade/ae81baf6dd77396249cb9dc1f1818dd1 to your computer and use it in GitHub Desktop.
[Page with fluid templates]
This file contains 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
page = PAGE | |
# page.typeNum = 123 | |
page.10 = FLUIDTEMPLATE | |
page.10 { | |
templateName = TEXT | |
templateName.stdWrap { | |
cObject = TEXT | |
cObject { | |
data = levelfield:-2,backend_layout_next_level,slide | |
override.field = backend_layout | |
split { | |
# if backend_layout is set up in TS: | |
token = pagets__ | |
# if backend_layout is set up in DB: | |
#token = frontend__ | |
1.current = 1 | |
1.wrap = | | |
} | |
} | |
ifEmpty = Default | |
} | |
layoutRootPaths { | |
#10 = EXT:###templateextension###/Layouts/ | |
20 = EXT:###templateextension###/Layouts/ | |
} | |
partialRootPaths { | |
#10 = EXT:###templateextension###/Partials/ | |
20 = EXT:###templateextension###/Partials/ | |
} | |
templateRootPaths { | |
#10 = EXT:###templateextension###/Templates/ | |
#20 = EXT:###templateextension###/Templates/ | |
} | |
variables { | |
#foo = bar | |
pagelayout = TEXT | |
pagelayout.data = levelfield:-2,backend_layout_next_level,slide | |
pagelayout.override.field = backend_layout | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment