Majora Member Apr 8, 2019 #1 For xenForo 1 the conditional if a user comes from search engine was: Code: <xen:if is="{$visitor.from_search}"> </xen:if> What is the conditional for xenForo 2.1? Best regards Matthias
For xenForo 1 the conditional if a user comes from search engine was: Code: <xen:if is="{$visitor.from_search}"> </xen:if> What is the conditional for xenForo 2.1? Best regards Matthias
C Case Well-known member Apr 11, 2019 #3 Not used that conditional myself but in xF2 <xen:if> has changed to <xf:if> so you could try... Code: <xf:if is="{$visitor.from_search}"> </xf:if> Upvote 0 Downvote
Not used that conditional myself but in xF2 <xen:if> has changed to <xf:if> so you could try... Code: <xf:if is="{$visitor.from_search}"> </xf:if>
Majora Member Apr 11, 2019 #4 Case said: Not used that conditional myself but in xF2 <xen:if> has changed to <xf:if> so you could try... Code: <xf:if is="{$visitor.from_search}"> </xf:if> Click to expand... Yeah! That makes sense. But that does not work for me. There has to be another code. Upvote 0 Downvote
Case said: Not used that conditional myself but in xF2 <xen:if> has changed to <xf:if> so you could try... Code: <xf:if is="{$visitor.from_search}"> </xf:if> Click to expand... Yeah! That makes sense. But that does not work for me. There has to be another code.
V3NTUS Well-known member Jan 2, 2022 #6 Did you try this? Code: $xf.visitor.from_search Upvote 0 Downvote