FluidTYPO3 content_fallback
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
config { | |
sys_language_uid = 0 | |
language = de | |
locale_all = de_DE.UTF-8 | |
htmlTag_langKey = de | |
sys_language_overlay = 1 | |
sys_language_mode = content_fallback; 0 | |
} | |
# ======================================== | |
# Englisch | |
# ======================================== | |
[globalVar = GP:L=1] | |
config { | |
sys_language_uid = 1 | |
language = en | |
htmlTag_langKey = en | |
locale_all = en_GB.UTF-8 | |
} | |
[end] | |
lib.content = CONTENT | |
lib.content { | |
table = tt_content | |
select { | |
pidInList.field = uid | |
where = colpos = {field:colPos} | |
where.insertData = 1 | |
languageField = sys_language_uid | |
} | |
renderObj =< tt_content | |
} |
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
<div xmlns="http://www.w3.org/1999/xhtml" lang="en" | |
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers" | |
f:schemaLocation="https://fluidtypo3.org/schemas/fluid-master.xsd" | |
xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers" | |
flux:schemaLocation="https://fluidtypo3.org/schemas/flux-master.xsd" | |
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers" | |
v:schemaLocation="https://fluidtypo3.org/schemas/vhs-master.xsd"> | |
<f:layout name="Page" /> | |
<f:section name="Configuration"> | |
<flux:form id="fluidpage" options="{icon: 'Icons/Page/Standard.gif'}"> | |
<!-- Insert fields, sheets, grid, form section objects etc. here, in this flux:form tag --> | |
</flux:form> | |
<flux:grid> | |
<!-- Edit this grid to change the "backend layout" structure --> | |
<flux:grid.row> | |
<flux:grid.column colPos="0" colspan="3" name="main" /> | |
<flux:grid.column colPos="1" name="right" /> | |
</flux:grid.row> | |
</flux:grid> | |
</f:section> | |
<f:section name="Main"> | |
<h1>I am a page template!</h1> | |
<pre>{page.headertext}</pre> | |
<p> | |
My template file is EXT:myprovider/Resources/Private/Page/Standard.html. | |
</p> | |
<div style="float: left; width: 75%;"> | |
<h2>Content main</h2> | |
<h3>Typoscript</h3> | |
<f:cObject typoscriptObjectPath="lib.content" data="{uid: group.uid, colPos: 0}" /> | |
<hr> | |
<h3>VHS</h3> | |
<v:content.render column="0" /> | |
</div> | |
<div style="float: left; width: 25%;"> | |
<h2>Content right</h2> | |
<v:content.render column="1" /> | |
</div> | |
</f:section> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment