ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to: Create a custom user registration form

June 18, 2009 1:10am

Subscribe [3]
  • #1 / Jun 18, 2009 1:10am

    brothereye

    2 posts

    I’d like the form to reflect my site’s design but, I’m not certain how to proceed.

    Any advice would be appreciated. Thanks.

  • #2 / Jun 18, 2009 2:09am

    mayest

    293 posts

    You can edit the CSS and/or the member templates pretty easily. First, make a copy of the /themes/profile_themes/default/ folder in the same /profile_themes folder. Name it whatever makes sense to you and upload it to your server. This way, if you screw anything up you can easily return to the default templates.

    You will also want to go into Admin—> Members and Groups—> Membership Preferences—> General Configuration and change the Default Member Profile Theme to the new one that you are working on. Otherwise, you won’t be able to see the changes.

    Now, in the CP go into Admin—> Members and Groups—> Member Profile Templates. You should see two folders: default and the new one that you just created. Click the new one and you will see a long list of templates. Among these are CSS Stylesheet and Registration Form. If you just want to change the look, you can just edit the CSS. If you want to add/remove things from the form then you can edit Registration Form. I just took the graphics referenced in the CSS and recolored them to match what I wanted, and also changed some of the other colors. I found the stuff that I wanted to change by looking at the templates, and then edited the CSS.

  • #3 / Jun 18, 2009 2:21pm

    brothereye

    2 posts

    Thank you Mayest. I’ll give your techniques a try. I have a very simple site and I’d simply like to maintain the branding/design throughout.

    The “member” portion of EE is one major aspect of EE you can’t really play with in the core version. I had to purchase it to discover how it actually worked hands on.

    Last question on the topic. Is it possible to create simple registration forms of your own as opposed to having to use the “member/register” form link? EE sports tags for building login forms and generic forms which capture info via email, etc. I was hoping something similar would be possible with some or all of the member forms.

    Thanks again for your help.

  • #4 / Jun 18, 2009 2:58pm

    Gary Chapman

    107 posts

  • #5 / Jun 18, 2009 3:07pm

    mayest

    293 posts

    I don’t know if you can create your own registration form. Probably, because you can do pretty much anything you want with EE (sometimes requiring custom plugins, modules, extensions, or just some PHP in a template). In any case, I don’t know why you would want to. If the default form doesn’t ask for all of the information that you want, then you can create your own Custom Profile Fields very easily. These are like regular custom fields that you would create for a weblog, and will be included on the Registration Form automatically.

    You can also delete some of the existing fields. If you don’t want to show the AOL IM field, just delete it from the Member Profile Form code.

    Edit: I see that Gary has posted a link that shows how to create your own Registration Form.

  • #6 / Jun 18, 2009 3:09pm

    Gary Chapman

    107 posts

    I don’t know if you can create your own registration form.

    You can. I’ve done it.

    —Gary

  • #7 / Jun 20, 2009 7:14am

    brothereye

    2 posts

    Thanks all. I will give these techniques a try and report back on my progress.

  • #8 / Jun 20, 2009 10:13am

    Ryan Irelan

    444 posts

    Another option is to use the User module from Solspace. It allows you to create member pages (registration, my account, etc) using normal EE templates. It does cost money but whenever I have a project that needs front-managed member accounts, I always use it.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases