Feature Requests
Share ideas, discuss and vote on requests from other users in community
 

Add a Register link on Login page with restricted content

marieneige shared this idea 3 years ago
Already Possible

Hi when a page a restricted to clients only we see the login form but there is no link to register, I think it would be best to add it, thanks

Best Answer
photo

You can customise the login page and add a link to register should you wish by editing the 'login.tpl' template file.

Comments (4)

photo
1

You can customise the login page and add a link to register should you wish by editing the 'login.tpl' template file.

photo
1

I added that to mine, before I seen this. It is easy, when you edit that login.tpl, but keep in mind...

If you update that in the default theme, when you update WHMCS, it will overwrite it, so make sure that you make a copy of the default theme and make your edits in there. It would not hurt for you to keep a modification record, of changes you make, so that way if there is an update to the WHMCS and a better theme is released, you can go recreate your changes easily in a new copy of the new theme.

Just a tip.

To do it, you can just open the login.tpl file, go to the last line and just before the closing </div> tag, add this:

<br />

<center>

Or<br />

<br />

<a href="[Your link here]">Create an Account With Us (FREE)</a><br />

</center>

Just update your link, you can get that by going to your clientarea page not logged in, and click on the drop down and where you click "Register" right click and click the copy link location.

photo
1

Anything is possible if you are a coder. So to say something is "already possible" because you can code a change isn't an answer, otherwise you could say this about any feature request. Its a feature request BECAUSE its not currently possible in the native solution.

I second the motion for this feature. If you look at nearly any login page around the world, they all contain a "Not registered? Register Now" link.

Currently if people go to submitticket.php and they aren't logged in, they get a login screen. But then they have to search around to find out how to register to then come back to submitticket.php screen. Not elegant at all.

Please build in this feature. Thanks

Thanks

Dean

photo
1

Exactly Dean. And the customization only works until the next update!