RSS Feed/News Conditional check not working against asset property with variations enabled

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,894
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top