Created
October 2, 2014 13:13
-
-
Save DenisMir/69357fd44ce7a917674c to your computer and use it in GitHub Desktop.
Simple Fluid Custom Content Element - Template
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/fluid/ViewHelpers" | |
xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers" | |
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"> | |
<f:layout name="Content" /> | |
<f:section name="Configuration"> | |
<flux:form id="fluidfluxcontent" label="Custom Text" icon="{f:uri.resource(path: 'Icons/Page.gif')}"> | |
<flux:field.input name="text" label="Inhalt" required="true" /> | |
</flux:form> | |
</f:section> | |
<f:section name="Preview"> | |
<table width="100%"> | |
<tr> | |
<td> | |
<f:format.crop maxCharacters="50">{text}</f:format.crop> | |
</td> | |
</tr> | |
</table> | |
</f:section> | |
<f:section name="Main"> | |
<p>{text}</p> | |
</f:section> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment