call it uncached and maybe before you need the placeholder, like this:
[[getImageList?
&tvname=`tickerNews`
&tpl=`tickerTpl`
&totalVar=`ticker-total`
&toPlaceholder=`tickerNews`
]]
<div [[+ticker-total:is=`1`:then=`class="newsTicker"`:else=`class="newsTicker owl-carousel"`]]>
[[+tickerNews]]
</div>
you can also try to use a wrapperTpl for the outer - code
[[getImageList?
&tvname=`tickerNews`
&tpl=`tickerTpl`
&totalVar=`ticker-total`
&wrapperTpl=`tickerWrapperTpl`
]]
and the tickerWrapperTpl
<div [[+ticker-total:is=`1`:then=`class="newsTicker"`:else=`class="newsTicker owl-carousel"`]]>
[[+output]]
</div>
Perfect Bruno, the wrapperTpl did the trick.
Might be worth adding it to the frontend properties rtfm?
Thanks