Commit 390c2327 authored by Andy Hausmann's avatar Andy Hausmann

Revised the FlexSlider template a bit and implemented the new dynamic LinkViewhelper.

parent f263d847
......@@ -16,26 +16,14 @@
<f:for each="{flexSliders}" as="slide">
<li>
<f:if condition="{slide.link}">
<f:then>
<f:link.page pageUid="{slide.link}">
<f:image
src="uploads/tx_flexslider/{slide.image}"
alt="{slide.caption}"
width="{settings.images.width}" height="{settings.images.height}"
minWidth="{settings.images.minWidth}" minHeight="{settings.images.minHeight}"
maxWidth="{settings.images.maxWidth}" maxHeight="{settings.images.maxHeight}" />
</f:link.page>
</f:then>
<f:else>
<f:image
src="uploads/tx_flexslider/{slide.image}"
alt="{slide.caption}"
width="{settings.images.width}" height="{settings.images.height}"
minWidth="{settings.images.minWidth}" minHeight="{settings.images.minHeight}"
maxWidth="{settings.images.maxWidth}" maxHeight="{settings.images.maxHeight}" />
</f:else>
</f:if>
<fs:DynLink arguments="{link: slide.link}">
<f:image
src="uploads/tx_flexslider/{slide.image}"
alt="{slide.caption}"
width="{settings.images.width}" height="{settings.images.height}"
minWidth="{settings.images.minWidth}" minHeight="{settings.images.minHeight}"
maxWidth="{settings.images.maxWidth}" maxHeight="{settings.images.maxHeight}" />
</fs:DynLink>
<f:if condition="{settings.showCaption} > 0">
<f:then>
<f:if condition="{configuration.extendSubtitleByRTE}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment