XF 2.1 Conditional: if user comes from search engine

Majora

Member
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
 
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>
 
Top Bottom