- Affected Version
- WoltLab Suite 3.1
In the pageHeaderUser template, there is an if surrounding the display for the login button: {if !$__disableLoginLink|isset}
I can't seem to find an option for this in the ACP, and searching is inconclusive. Does such a configuration exist?
Also, if I can't configure it in the ACP, is it possible to set the variable in template code? I'd like something like this:
Code
{if !$__disableLoginLink|isset}
{$__disableLoginLink = true}
{/if}
{if !$__disableLoginLink|isset}
<!-- Show login button -->
{/if}
I was able to get an inelegant solution to work:
If there's a more elegant solution to this, do let me know, but this definitely works.