How to add footer in login interface

I have setup a discourse that with the following options enabled in Settings->Login

  • invite only
  • login required
  • must approve users

So the interface before login is like this:

My question is how to add a footer in this interface?

Thanks.

Hi,

There are some footer theme components what you can use to add footer section.

1 Like

Hello @Don

Yes, Easy responsive footer works but the users can see the footer only after them login. I need to see the footer before login, like the picture above.

It’s been a while since I tested this, but you could try adding the following code to a theme component to get the footer to display on the login page:

<script type="text/discourse-plugin" version="0.8.40">
    const LoginRoute = require("discourse/routes/login").default;
    LoginRoute.reopen({
      showFooter: true
    });
</script>
6 Likes

I don’t know how to add such script to the theme, so I simply remove the showFooter conditions in the component to make it display all the time.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.