kelle67 Well-known member Oct 11, 2018 #1 How can I display a widget between specific nodes? In Xf 1.5 we use hooks but that does not work in XF2 longer. I tried to use this code in the template node_list_category. Code: <xf:if is="{$forum.node_id} == 12"> <xf:widget key="sc_last_items" /> </xf:if> But it does not work.
How can I display a widget between specific nodes? In Xf 1.5 we use hooks but that does not work in XF2 longer. I tried to use this code in the template node_list_category. Code: <xf:if is="{$forum.node_id} == 12"> <xf:widget key="sc_last_items" /> </xf:if> But it does not work.
kelle67 Well-known member Oct 13, 2018 #2 @Chris D, @Brogan, @Mike maybe you can answer? Some member have already asked exactly the same. Does this conditional statemant still work in XF2 or not? Code: <xf:if is="{$forum.node_id} == x"> Show Content... </xf:if> If yes, what are we all doing wrong? If not, what alternative is there for that? Upvote 0 Downvote
@Chris D, @Brogan, @Mike maybe you can answer? Some member have already asked exactly the same. Does this conditional statemant still work in XF2 or not? Code: <xf:if is="{$forum.node_id} == x"> Show Content... </xf:if> If yes, what are we all doing wrong? If not, what alternative is there for that?
SyTry Well-known member Oct 13, 2018 #3 Hello, This code allows you to display content if you are in node X, not to choose the display between the node. Regards, SyTry Upvote 0 Downvote
Hello, This code allows you to display content if you are in node X, not to choose the display between the node. Regards, SyTry
kelle67 Well-known member Oct 14, 2018 #4 Thank you for answering. Maybe I have a idea, will try this. Upvote 0 Downvote
Jay™ Well-known member Oct 28, 2018 #5 @kelle67 did you get this working? i would like to do the same Upvote 0 Downvote
kelle67 Well-known member Oct 28, 2018 #6 @NobleMan no its no way. But i use the Ads Manager 2 by Siropu for that. We use this addon anyway. Upvote 0 Downvote