alternadiv
Well-known member
I tried to figure this out on my own but apparently it's not going to happen lol.
I want to add the discussion count of a specific node to a widget. I dumped the variables:
The node ID I want is
No idea what I'm doing pls send help
I want to add the discussion count of a specific node to a widget. I dumped the variables:
The node ID I want is
4
. So based of that, I'm working with $nodeExtras
, discussion_count
, and 4
. I tried a bunch of stuff to see if I'd get lucky and guess correctly, to no avail.<xf:set var="$nodeExtras" value="{$xf.discussion_count.4}" />
<xf:set var="$node == '4'">{$nodeExtras.discussion_count|number}</xf:set>
No idea what I'm doing pls send help