Need to remove sign in link from mobile site once user is signed in
I found the post talking about replacing the "Sign In" link on the mobile home page with a "Sign Out" link. I just wanted to know how to simply remove the Sign In link once the user is signed in. Would it be...?
<#if user.anonymous == true>
<a href="${webUi.getUserLoginPageUrl("/")}">Sign in</a>
<#else>
</#if>
And since we had to change the standard SSO sign in page with a mobile version, can I replace the variable link with...?
<#if user.anonymous == true>
<a href=http://ourcustommobilesigninpagelink/>Sign in</a>
<#else>
</#if>
Finally, do I just include this in my custom compent for it to work?
Thanks
The code sample you specified should work. As for your second question, which sign in link were you looking to replace? Once you put this code in a custom component, you will have to replace the "sign in" link component with your custom component (on the page where you want this change reflected).
Let me know if you need more help!