Newsletter subscribe

Discussion in 'Templates customization' started by wprayer, Jun 29, 2009.

  1. wprayer

    wprayer New Member

    Joined:
    Apr 28, 2009
    Messages:
    5
    I am attempting to have the newsletter subscribe on signup.php. It is showing in the code but it is not showing on the site. Could someone please tell me how to have the newsletter option available on signup.php form?
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    On signup.html

    {if $newsletter_threads > 0}
    <tr>
    <th>#_TPL_SIGNUP_NEWSLETTERS_SUBSCRIBE#<br />
    <div class="small">#_TPL_SIGNUP_NEWSLETTERS_SUBSCRIBE_1#</div>
    </th>
    <td><input type="checkbox" name="to_subscribe" value="1"
    {if $smarty.request.to_subscribe}checked="checked"{/if} />
    </td>
    </tr>
    {/if}

    Remove the if statements and I suggest changing the
    {if $smarty.request.to_subscribe}checked="checked"{/if} />
    to checked="checked" />

    David
  3. wprayer

    wprayer New Member

    Joined:
    Apr 28, 2009
    Messages:
    5
    Thank you!:)

Share This Page