How to edit shared file page to change get your free account link to your singup page and not nextcloud

Hi! I have just started using nextcloud recently. I have noticed that if somebody shares a file, at the bottom it says: “Get your own free account” and if that is clicked, it takes you to nextcloud sign up page. Is it possible to change that link to take to my nextcloud’s sign up link?
All help will be appreciate!
Thank you:)

Add to config/config.php to deactivate the link:

'simpleSignUpLink.shown' => false,

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html

I think therefore you must edit the source code.
Change
/core/templates/layout.public.php
Look line 99: server/layout.public.php at master · nextcloud/server · GitHub
Perhaps you get e.g. an integrity error e.g. on upgrades.

But normally you have a link to your cloud at the button of your nextcloud.
Also show the app Registration

Thank you so so much! My issue has been fixed!

1 Like