XF / News Widget abode/below node list issue

Status
Not open for further replies.

Bots

Registered
Joined
May 3, 2024
Messages
3,593
Reaction score
1
I need to show my widget according to certain condition, and using template_modification to make it.

However if I set condition 1 (above), it shows the widget above but also in the bottom (but only the frame, not content, it's buggy).

It seems rendering twice even applied to condition. How can I solve that?


Code:

Code:
<xf:if is="condition == 1">
    <xf:widget key="my_widget" />
</xf:if>

<xf:macro name="node_list" arg-children="{$nodeTree}" arg-extras="{$nodeExtras}" />

<xf:if is="condition...

Read more

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