Skip to content

Instantly share code, notes, and snippets.

@mneuhaus
Created December 15, 2014 23:26
Show Gist options
  • Save mneuhaus/cef8cab38e8a08a1c008 to your computer and use it in GitHub Desktop.
Save mneuhaus/cef8cab38e8a08a1c008 to your computer and use it in GitHub Desktop.
{namespace flux=FluidTYPO3\Flux\ViewHelpers}
{namespace v=FluidTYPO3\Vhs\ViewHelpers}
<f:layout name="Content" />
<f:section name="Configuration">
<flux:form id="textWithImage" label="Text mit Bild">
<flux:field.text name="description" label="Beschreibung" rows="5" enableRichText="TRUE" />
<flux:field.input name="target" label="Verknüpfung">
<flux:wizard.link />
</flux:field.input>
<flux:field.file name="file" label="Bild"/>
</flux:form>
</f:section>
<f:section name="Preview">
some preview in html for the backend view
</f:section>
<f:section name="Main">
{description}
<a href="{v:uri.typolink(configuration: '{parameter: elementData.target}')}">More</a>
<f:image src="{file}" alt="{header}" class="img-responsive" width="800c" height="800c"/>
</f:section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment