<xf:if is="!$xf.visitor.user_id">
<xf:widget key="my_widget" />
</xf:if>
I'm trying this - but I keep getting an error when trying to save #2...There's two things that can help for right now.
1) Create the widget that you want, but don't assign it to a position. Give it a "widget key" for example "my_widget".
2) Create a new "HTML" widget in the desired position. Check the "Advanced mode" box. In the "Template" field type:
That should give you the desired effect.HTML:<xf:if is="!$xf.visitor.user_id"> <xf:widget key="my_widget" /> </xf:if>
Maybe this would help?Heh, that's a nice thought. As simple as it looks, it's far from it. To make that happen, we have to compile all of the navigation stuff to PHP code. Not insurmountable, and it was considered at one point, but it's a fairly huge undertaking.
I have a widget with ads, and I want only the unregistered user to see this widget.
What would be the "Display condition:"?
No one any idea?
We use essential cookies to make this site work, and optional cookies to enhance your experience.