{if !empty($block.slides)} {if $block.slider_mode == 'responsive'} {block name=slider_responsive}
{foreach from=$block.slides item="slide" name="slides"} {assign var="count" value=$smarty.foreach.slides.iteration|string_format:"%02d"}
{assign var="customhtmlOverridePath" value="{$smarty.const._PS_THEME_DIR_}modules/ws_customhtml/views/templates/hook/{$hookName}/slide.tpl"} {if file_exists($customhtmlOverridePath)} {include file="module:ws_customhtml/views/templates/hook/`$hookName`/slide.tpl" block=$slide group=$group hookName=$hookName count=$count} {else} {include file="module:ws_customhtml/views/templates/hook/_slide.tpl" block=$slide count=$count} {/if}
{/foreach}
{foreach from=$block.slides item="slide" name="slides"} {assign var="count" value=$smarty.foreach.slides.iteration|string_format:"%02d"} {if !empty($block.slider_desktop_column_width)}
{else}
{/if} {assign var="customhtmlOverridePath" value="{$smarty.const._PS_THEME_DIR_}modules/ws_customhtml/views/templates/hook/{$hookName}/slide.tpl"} {if file_exists($customhtmlOverridePath)} {include file="module:ws_customhtml/views/templates/hook/`$hookName`/slide.tpl" block=$slide group=$group hookName=$hookName count=$count} {else} {include file="module:ws_customhtml/views/templates/hook/_slide.tpl" block=$slide count=$count} {/if}
{/foreach}
{/block} {/if} {if $block.slider_mode != 'responsive'} {block name=slider_always}
{foreach from=$block.slides item="slide" name="slides"} {assign var="count" value=$smarty.foreach.slides.iteration|string_format:"%02d"}
{assign var="customhtmlOverridePath" value="{$smarty.const._PS_THEME_DIR_}modules/ws_customhtml/views/templates/hook/{$hookName}/slide.tpl"} {if file_exists($customhtmlOverridePath)} {include file="module:ws_customhtml/views/templates/hook/`$hookName`/slide.tpl" block=$slide group=$group hookName=$hookName count=$count} {else} {include file="module:ws_customhtml/views/templates/hook/_slide.tpl" block=$slide count=$count} {/if}
{/foreach}
{/block} {/if} {/if}