Sign Up Page

Discussion in 'Templates customization' started by simplyr, Jan 29, 2011.

  1. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Hey,

    How would I edit the sign up page to fit my template?

    What's the core coding I should take from signup.php?

    Like you can add login boxes elsewhere on the site, I want to do something similar with Sign Up boxes.

    Thanks,
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    amember/templates/ are the template files
    for signup
    amember/templates/signup.html

    David
  3. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
  4. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Is that possible?
  5. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You can't place signup page on other pages on your site.
    However you can copy signup form code and place it whereever you need, but when user will submit that form he will be redirected to aMember signup page.
  6. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
  7. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    No, I don't want it at the URL /amember/signup.php

    I'd like it at something like /index.php
  8. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    If you called it something like index.php then unless you had a page called index.html, which should take priority, you will get your signup page on the landing page of your site. Unless that is what you are wanting.

    There would be no reason why you didn't put your signup page on any page you wanted but you would then have to customise several files to point to the correct place.

    If it is that you don't want to use the 'amember' as directory name you can call it something else, as has been done on many sites.
  9. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Preferably I'd like to have sign up pages on both /amember/signup.php and say /signup.php
  10. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Please, anyone?
  11. grayrockaz

    grayrockaz New Member

    Joined:
    May 1, 2010
    Messages:
    1
  12. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    I basically started with one of my normal web page templates and then copied the 'working code' from the original aMember template and inserted it into the normal content area of my webpage.

    Renamed the various aMember elements so that I could use my own css definitions and make it look exactly how I wanted.

    This new page was then called 'signup.html' and uploaded to the amember/templates directory. I have changed quite a few templates the same way so that everything seems as it is part of the site and not an addon.

    If you are interested, let me have an email address and I'll send you a copy of the code that makes up that page, so you can see how I did it, no problem.
  13. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Thanks for the help but I'm really looking to have the sign up page elsewhere instead of the usual /amember/signup.php - I don't want it to be in the amember root folder as such. :(
  14. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    So put it where you like and change the line in signup.php that calls up the page. That is as easy as it gets!!

    Just remember if you move it outside the amember directory you will have to watch the signup.php script if you update the aMember version. Plus you will need to either change the smarty parts to plain php or make the necessary changes to point to the smarty programs.
  15. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Thanks, if I drop you an email could you help me do it?
  16. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    Hi
    I am happy to send you a copy of the relevant page so you can see how I have produced signup page on my site but unfortunatly time restraints mean I cannot actually write, or amend, the code for use on other sites.

    Sorry.

Share This Page