Overriding registration/login page
Permalink 1 user found helpful
Hi everyone,
I know this has been asked and answered many times, but the answers I see seem to vary per C5 version, and none of them works for me in 8.5 :)
I want to override the single pages for /login and /register, just to make them look more like the rest of my site (so specifically the outer page, not necessarily the forms). I understand from other answers that this can't be done on package level cause this would potentially conflict with other overrides, but surely on /application level this can be done? I've tried a lot of locations to put register.php and login.php and have override cache turned off (but of course still clearing cache every time just in case) :) but it would help if I knew for sure where these files need to be instead of applying trial and error. :)
I know this has been asked and answered many times, but the answers I see seem to vary per C5 version, and none of them works for me in 8.5 :)
I want to override the single pages for /login and /register, just to make them look more like the rest of my site (so specifically the outer page, not necessarily the forms). I understand from other answers that this can't be done on package level cause this would potentially conflict with other overrides, but surely on /application level this can be done? I've tried a lot of locations to put register.php and login.php and have override cache turned off (but of course still clearing cache every time just in case) :) but it would help if I knew for sure where these files need to be instead of applying trial and error. :)
Sorry for the late reply, but I've been task-switching between a gazillion projects.. :) But thanks! This worked. Now even without the registration in config/app.php, although I'm quite sure I tried these override locations already. I guess the added confidence of being sure of the right location helped. ;)
Also change code in ‘application/config/app.php’ to call your modified files.