signup page customization

Discussion in 'Templates customization' started by julian, Mar 26, 2004.

  1. julian

    julian Guest

    Hello,
    Is it possible to show the avaiable products via dropdown instead of separate radio button for each product on the signup page? This will be more comfortable for the users if you offer 10-20 products :)

    Thank you in advuce! This script is great!
    Julian
  2. Rozey

    Rozey Guest

    The drop down menu sounds like something I would use as well.

    I'd be interested in this myself.

    Is anyone already using the signup page in this fashion?

    Rozey
    www.Marketing-Seek.com
  3. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    it is not a problem to do. Replace in signup template:

    PHP:
    <tr>
        <
    th><b>Select a Membership Type</b></th>
        <
    td>
        {foreach 
    from=$products item=p
        <
    input type=radio id=product{$p.product_idname=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} ({if $p.price }{$config.currency|default:"$"}{$p.price}{else}free{/if})</b><br>
            <
    small>{$p.description}</small></label><br><br>
        {/foreach}
        </
    td>
    </
    tr>
    to

    PHP:
    <tr>
        <
    th><b>Select a Membership Type</b></th>
        <
    td> <select name=product_id size=1>
        {foreach 
    from=$products item=p
        <
    option id=product{$p.product_idvalue="{$p.product_id|escape}"
            
    {if $p.product_id == $smarty.request.product_id }selected{/if}
            >{
    $p.title} ({if $p.price }{$config.currency|default:"$"}{$p.price}{else}free{/if})
        {/foreach}
        </
    select> </td>
    </
    tr>

Share This Page