RSS Feed/News foreach not working in email template

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
23,688
Points
823

Reputation:

I have an email template and I am passing in an array that is sliced from a finder array.

When I then try to loop through that in an email template it isn't giving me the values.

HTML:

Code:
<xf:if is="$totalBidders > 0">
    <h2>High Bidders</h2>
    <xf:foreach loop="$bidders" value="$bidr">
        <a href={{ link('members', $bidr) . '#about' }}>{$bidr.User.username}</a> - {$bidr.User.email}
    </xf:foreach>
</xf:if>

My array has values that are returned from the finder
PHP:

$app =...

Read more

Continue reading...
 
Status
Not open for further replies.
Top