RSS Feed/News Changing the var for a <xf:set> tag via JS

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
28,804
Points
823

Reputation:

If I am sending the following collections to a template $visibleBlogPosts, $draftBlogPosts, $scheduledBlogPosts, $deletedBlogPosts and have a xf set tag as so
<xf:set var="$blogPosts" value={$visibleBlogPosts} />

Is there a way using javascript to change the value $blogPosts to a different one since they have already been passed to the template?

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