Is it possible to add the newsletter sign up form from the newsletter.php page to within another web page? I would like to add the form to my side bar which would show on each page.
make a text link in your sidebar which open a new window linking to the newsletter.php page. that is what i'm going to do.
can you be a bit more specific, so I add Code: <form method="post" name="newsletter" id="newsletter" action="{$smarty.server.PHP_SELF|escape}" onsubmit="return validateStandard(this);" > <table class="vedit"> <tr><th>#_TPL_NEWSLETTER_SUBSCRIBE_TO_NEWSLETTERS#</th> <td> {foreach from=$threads_list item=tr} {if $tr.is_active} <input type="checkbox" name="tr[]" value="{$tr.thread_id}" {if $threads[$tr.thread_id] eq '1'}checked="checked"{/if} /> <strong>{$tr.title}</strong> <div class="small">{$tr.description}</div> <br /> {/if} {/foreach} </td></tr> <tr> <th>#_TPL_NEWSLETTER_NAME#</th> <td> <input type="text" name="n" value="{$vars.n|escape}" size="40" /> </td> </tr> <tr> <th>#_TPL_NEWSLETTER_EMAIL#</th> <td><input type="text" name="e" value="{$vars.e|escape}" size="40" /></td> </tr> </table> <br /> <input type="hidden" name="a" value="add_guest" /> <input type="submit" value=" #_TPL_NEWSLETTER_DO_SUBSCRIBE# " /> </form> then what else do I put into the web page?
You need to copy the form data info like this: (adding info about the newsletter you want to subscribe them to) Code: <form method="post" name="newsletter" id="newsletter" action="/amember/newsletter.php" > <table class="vedit"> <tr><th>Choose Newsletters</th> <td> <input type="checkbox" name="tr[]" value="1" /> <strong>your thread</strong> <div class="small">your thread <br /> </td></tr> <tr> <th>Name</th> <td> <input type="text" name="n" value="" size="40" /> </td> </tr> <tr> <th>Email</th> <td><input type="text" name="e" value="" size="40" /></td> </tr> </table> <br /> <input type="hidden" name="a" value="add_guest" /> <input type="submit" value=" Subscribe " /> </form> David