feat: add a textimage element, add news design, add a footer
This commit is contained in:
parent
9f410a339e
commit
52e962ae83
19 changed files with 546 additions and 22 deletions
|
|
@ -0,0 +1,26 @@
|
|||
<html
|
||||
xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
<f:layout name="Preview"/>
|
||||
|
||||
<f:section name="Header">
|
||||
<be:link.editRecord uid="{data.uid}" table="{data.mainType}">
|
||||
<f:if condition="{data.header}">
|
||||
<f:then>{data.header}</f:then>
|
||||
<f:else>Text/Image Element</f:else>
|
||||
</f:if>
|
||||
</be:link.editRecord>
|
||||
</f:section>
|
||||
|
||||
<f:section name="Content">
|
||||
<f:if condition="{data.bodytext}">
|
||||
<f:then>
|
||||
<p>Preview: <f:format.crop maxCharacters="50">{data.bodytext}</f:format.crop></p>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<p>No text available</p>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:section>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue