Add preview renderers for custom content elements
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
{namespace be=TYPO3\CMS\Backend\ViewHelpers}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p>
|
||||
<strong>Störer</strong>
|
||||
</p>
|
||||
<strong>
|
||||
{content.headline}
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
{namespace be=TYPO3\CMS\Backend\ViewHelpers}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p>
|
||||
<strong>Störer</strong>
|
||||
</p>
|
||||
<strong>
|
||||
<f:switch expression="{data.layout}">
|
||||
<f:case value="1">
|
||||
groß
|
||||
</f:case>>
|
||||
<f:case value="2">
|
||||
Event klein
|
||||
</f:case>
|
||||
<f:case value="3">
|
||||
Event groß
|
||||
</f:case>
|
||||
<f:defaultCase>
|
||||
klein
|
||||
</f:defaultCase>
|
||||
</f:switch>
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,11 @@
|
||||
{namespace be=TYPO3\CMS\Backend\ViewHelpers}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p>
|
||||
<strong>OSM Karte</strong>
|
||||
</p>
|
||||
<strong>
|
||||
{content.name} ({content.latitude}, {content.longitude})
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,15 @@
|
||||
{namespace be=TYPO3\CMS\Backend\ViewHelpers}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p>
|
||||
<strong>Lineup</strong>
|
||||
</p>
|
||||
<ul>
|
||||
<f:for each="{rows}" as="row">
|
||||
<li>
|
||||
{row.name}
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{namespace be=TYPO3\CMS\Backend\ViewHelpers}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p>
|
||||
<strong>Teaser Ort</strong>
|
||||
</p>
|
||||
<p>
|
||||
<f:if condition="{images.0}">
|
||||
<f:then>
|
||||
<f:image image="{images.0.originalFile}" width="200" height="80c" />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:image src="EXT:ep_theme/Resources/Public/images/lazy.png" width="200" height="80c"/>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</p>
|
||||
<strong>
|
||||
{city.name}
|
||||
</strong>
|
||||
<br>
|
||||
{city.teaser -> f:format.html()}
|
||||
</div>
|
||||
</div>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{namespace be=TYPO3\CMS\Backend\ViewHelpers}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p>
|
||||
<strong>Teaser Konzept</strong>
|
||||
</p>
|
||||
<p>
|
||||
<f:if condition="{images.0}">
|
||||
<f:then>
|
||||
<f:image image="{images.0.originalFile}" width="200" height="80c" />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:image src="EXT:ep_theme/Resources/Public/images/lazy.png" width="200" height="80c"/>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</p>
|
||||
<strong>
|
||||
{concept.name}
|
||||
</strong>
|
||||
<br>
|
||||
{concept.teaser -> f:format.html()}
|
||||
</div>
|
||||
</div>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{namespace be=TYPO3\CMS\Backend\ViewHelpers}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p>
|
||||
<strong>Teaser Land</strong>
|
||||
</p>
|
||||
<p>
|
||||
<f:if condition="{images.0}">
|
||||
<f:then>
|
||||
<f:image image="{images.0.originalFile}" width="200" height="80c" />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:image src="EXT:ep_theme/Resources/Public/images/lazy.png" width="200" height="80c"/>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</p>
|
||||
<strong>
|
||||
{country.name}
|
||||
</strong>
|
||||
<br>
|
||||
{country.teaser -> f:format.html()}
|
||||
</div>
|
||||
</div>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{namespace be=TYPO3\CMS\Backend\ViewHelpers}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p>
|
||||
<strong>Teaser Hotel</strong>
|
||||
</p>
|
||||
<p>
|
||||
<f:if condition="{images.0}">
|
||||
<f:then>
|
||||
<f:image image="{images.0.originalFile}" width="200" height="80c" />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:image src="EXT:ep_theme/Resources/Public/images/lazy.png" width="200" height="80c"/>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</p>
|
||||
<strong>
|
||||
{hotel.name}
|
||||
</strong>
|
||||
<br>
|
||||
{hotel.teaser -> f:format.html()}
|
||||
</div>
|
||||
</div>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{namespace be=TYPO3\CMS\Backend\ViewHelpers}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p>
|
||||
<strong>Teaser Produkt</strong>
|
||||
</p>
|
||||
<p>
|
||||
<f:if condition="{images.0}">
|
||||
<f:then>
|
||||
<f:image image="{images.0.originalFile}" width="200" height="80c" />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:image src="EXT:ep_theme/Resources/Public/images/lazy.png" width="200" height="80c"/>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</p>
|
||||
<strong>
|
||||
{product.name}
|
||||
</strong>
|
||||
<br>
|
||||
{product.teaser -> f:format.html()}
|
||||
</div>
|
||||
</div>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{namespace be=TYPO3\CMS\Backend\ViewHelpers}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p>
|
||||
<strong>Teaser Gebiet</strong>
|
||||
</p>
|
||||
<p>
|
||||
<f:if condition="{images.0}">
|
||||
<f:then>
|
||||
<f:image image="{images.0.originalFile}" width="200" height="80c" />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:image src="EXT:ep_theme/Resources/Public/images/lazy.png" width="200" height="80c"/>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</p>
|
||||
<strong>
|
||||
{region.name}
|
||||
</strong>
|
||||
<br>
|
||||
{region.teaser -> f:format.html()}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user