Is there a way to create two pages?: one signup.php and the other freetrial.php

Discussion in 'Customization & add-ons' started by cooliohiten, Oct 27, 2010.

  1. cooliohiten

    cooliohiten Member

    Joined:
    May 1, 2009
    Messages:
    124
    Dear All,

    I would like to create two signup pages:

    1. One where customers can signup to a paid subscription (using the existing Amember signup.php page).

    2. Another page where the customer can signup to a free trial (e.g. freetrial.php).

    I created a file called freetrial.html and copied all the code from signup.html into it, thinking that I should be able to make changes to the text in the main signup boxes and the titles etc.

    I also created a file called freetrial.php and copied all the text from signup.php into it.

    However, when I make changes in freetrial.html the changes don't reflect in freetrial.php

    Is there any file I need to change to do this?

    Any advice would be much appreciated. I'm not familiar with PHP at all.

    Best wishes,

    ch
  2. erwinvdb

    erwinvdb aMember Pro Customer

    Joined:
    Aug 30, 2007
    Messages:
    264
    In the new freetrial.php file you should find at (or around) line 160 the following:
    Code:
                    $config['amember_signup_template'] : 'signup.html');
    change it into:
    Code:
                    $config['amember_signup_template'] : 'freetrial.html');
    It should now work as intended.

    Cheers,
    Erwin
  3. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    You can also use negative price groups to hide products from the signup page
    eg: /amember/signup.php?price_group=-897

    David
  4. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    543
    Or just group your paid and free products into separate Price Groups and then use the Signup Link Wizard in "Manage Products" area to create your own custom signup links...
  5. cooliohiten

    cooliohiten Member

    Joined:
    May 1, 2009
    Messages:
    124
    Thanks everyone for responding to this.

    Best wishes,

    ch
  6. vacc_webmaster

    vacc_webmaster Member

    Joined:
    Jan 24, 2007
    Messages:
    51
    Hope I can do this since it's sort of related.

    Would it be possible to do the same for the profile page?

    The profile page would include name, username, address, password, etc, all the generic fields amember comes with.

    Then another profile page called like profile2.php which allows members to update custom fields (roughly 10).

    Thanks for any information you can provide. I tried to do it myself but it wouldn't save any changes on profile2 page.
  7. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Contact us in helpdesk we will help to do this mod.

Share This Page