thunderup Active member Nov 13, 2021 #1 Is there any way to make something like this work within the html body of a page <xf:if is="!$xf.visitor.user_id"> <li><a href="account">Manage Account</a></li> <xf:else /> <li><a href="#">Create Account</a></li> </xf:if>
Is there any way to make something like this work within the html body of a page <xf:if is="!$xf.visitor.user_id"> <li><a href="account">Manage Account</a></li> <xf:else /> <li><a href="#">Create Account</a></li> </xf:if>
P Paul B XenForo moderator Staff member Nov 13, 2021 #2 HTML: <xf:if is="$xf.visitor.user_id"> <li><a href="{{ link('account') }}">Manage Account</a></li> <xf:else /> <li><a href="{{ link('register') }}">Create Account</a></li> </xf:if> Upvote 0 Downvote
HTML: <xf:if is="$xf.visitor.user_id"> <li><a href="{{ link('account') }}">Manage Account</a></li> <xf:else /> <li><a href="{{ link('register') }}">Create Account</a></li> </xf:if>