RSS Feed/News adding multiple titles to elements within same xf:button

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,510
Points
823

Reputation:

I am trying to add a title for data-sk-follow and another title for data-sk-unfollow but struggled to do that. Here is my code, any advice would be much appreciated

HTML:

Code:
<xf:if is="$user is not empty AND $xf.visitor.canFollowUser($user)">
                <xf:button href="{{ link('members/follow', $user) }}"
                    class="button--link"
                    data-xf-click="switch"
                    data-sk-follow= "addClass:fa-bell,removeClass:fa-bell-slash,"...

Read more

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