Hi,
I would like to remove the linktree in SMF's "Login" page. Its presence creates an unnecessary gap at the top. Is it possible to do it without removing the linktrees in the forum? (We use them when navigating inside the forum).
Thank you in advance.
Maybe if you post a link of this gap you mention, wouldn't that be possible to solve with css. Also if this gap is visible in the generated html everywhere on your forum but showing on screen @ login page then this all would be a better solution.
if you really must do what you have asked, the only way I know is php coding and not a clean.solution and I don't know about your php skills. mine... are... slow...
https://karamigfer.com/index.php?action=login
Look at the lefternmost side of the forum body. You will see "Giriş" (Login) as a linktree. I find it unnecessary to have it in the login page. I know that it occupies a horizontal line, and it creates an unnecessary gap in addition to the one which is already there.
I know this is a minor concern but it still disturbs me.
Don't recognize the theme. Attach your index.template.php.
It was "Darkbreak" theme 7-8 years ago. I have been modifying it since then. I think it eventually became my own theme.
// Show the navigation tree.
if (!$context['current_action'] == 'login')
theme_linktree();
Worked perfectly. Thank you very much! I am grateful.