Conditional check not working against asset property with variations enabled (1 Viewer)

R

Russ

Guest
In 2.2 I had a very simple conditional like this:

Code:

Code:
                    <xf:if is="property('xbFooterLogo')">
                        <a href="{{ ($xf.options.logoLink && $xf.homePageUrl) ? $xf.homePageUrl : link('index') }}">
                            <img src="{{ base_url(property('xbFooterLogo')) }}" alt="{$xf.options.boardTitle}" width="{{ property('footerLogoWidth') ?: '' }}" height="{{ property('footerLogoHeight') ?: '' }}" />
                        </a>...

Read more

Continue reading...
 
Top