Editing registration page (register.php)

Is it possible to edit the registration page in html? I've checked out the php files in /concrete/controllers and in /concrete/single_pages, and I know that I can edit the register.php page by modifying those files. But. If I copy the "view page source" ofhttp://mysite.com/index.php/register... , then modify that html and then paste this modified html in a block athttp://mysite.com/index.php/join... , will it work? Will users still be able to register at my site throughhttp://mysite.com/index.php/join... ?

I've done this -- the copy, edit then paste html -- with the Login block and it seems to be working just fine. So. I'm assuming this should work for registration as well?

View Replies:
12345j replied on at Permalink Reply
i think so. but why not just create a new single page "join" and work with that? Also, try to copy everything to root, not edit in root/concrete
kirkroberts replied on at Permalink Reply
The Register page is far more complex than the Login block. You're sure to run into issues with your approach as you're omitting all the PHP logic that powers what is a deceptively complex bunch of operations.

The "proper" way is to copy /concrete/single_pages/register.php to /single_pages/register.php and make your changes there.
You can do the same thing with /concrete/controllers/register.php if you need to affect something there.

You definitely want to copy files out of the core so your changes don't get overwritten when you update your c5 installation.
smallgoodthing replied on at Permalink Reply
Thanks for feedback. What about the mySQL route? Would it be easier, and possible, to just create my own user login system?
WebcentricLtd replied on at Permalink Reply
you'd be creating a lot more work for yourself and just replicating what the system already does.
Kirkroberts was spot on.

Copy the concrete/single_pages/register.php
to single_pages/register.php,

edit the themepaths file in your /config directory - it tells you how in the file,

and make sure that you definitely have at least a view.php in your theme - or create a new page called register.php in your theme which calls in the content from your single page.

Then when you are in edit mode in the website you can go to /register and add various blocks to your page etc as you would any other.

Once you get your head around it it is really flexible.
kirkroberts replied on at Permalink Reply
One of Concrete5's strengths is the built-in user management and permissions system. That's really at least two things... two BIG things...

I highly recommend learning to take advantage of them, as you'll save yourself a LOT of work long-term. Leave the custom mySQL stuff for something not already implemented in the c5 core.

The documentation could be better, but it's a lot better than it was a year ago! And when you run into specific issues you can search the forum... chances are someone's already asked a similar question.
tonyswaby replied on at Permalink Reply
Sorry if this is out of date.

But I need help with redirection after registration and it seems impossible, is this the case?

Gondwana replied on at Permalink Reply
If you're requiring users to validate their email addresses, the redirection seems to happen in
I've managed to edit this file to redirect to where I want, but I haven't yet worked out how to override this file in the kosher /application way.

If you're not using email validation, it might still be worth looking around in concrete/authentication.