How To Remove Fields From Signup

Discussion in 'Templates customization' started by tomarriola, May 3, 2003.

  1. tomarriola

    tomarriola Member

    Joined:
    Mar 29, 2003
    Messages:
    140
    I want to remove everything on the sign-up page except for email address, user name and password. The site only offers free access and only has one product, so those details are distracting. I tried to delete them but the system gave an error msg when it didn't get a 1st name, last name, etc.

    BTW, I have the pro version, purchased just two days ago, even its version 1.8.4, not the more recent one that is mentioned on the main page.

    Tom
  2. tomarriola

    tomarriola Member

    Joined:
    Mar 29, 2003
    Messages:
    140
    :p I had installed the free version by mistake. I still need to figure out how to remove the payment type, etc.
    Tom
  3. abbeyvet

    abbeyvet New Member

    Joined:
    Feb 2, 2003
    Messages:
    135
    First you can remove all the address fields from the signup form so:


    - Open the Admin Control Panel
    - From the left menu, click Setup/Configuration

    There is a field there called "Use Address info" - set that to 'No' and all the address fields will be moved from the signup form.

    You can then further edit the template (signup.html) and make other forms you do not want hidden and fill in their values where appropriate.

    For example the bit which displays products will look something like this:

    {foreach from=$products item=p}
    <input type=radio id=product{$p.product_id} name=product_id value="{$p.product_id|escape}"
    {if $p.product_id == $smarty.request.product_id }checked{/if}
    ><label for="product{$p.product_id}"><b>{$p.title}</b> ({if $p.price > 0 }${$p.price}{else}Free{/if})</label><br>{$p.description}<br>
    {/foreach}


    You could replace this with

    <input type=hidden name=product_id value=12>

    Where 12 above is replaced by the number of your product.
  4. alex-adm

    alex-adm Guest

    For delete not-necessary payment methods, go to
    aMember Admin CP => Setup => Plugins
    and disable payment plugins you don't need.

Share This Page