Hi. I’m trying to use the tell-a-friend form, but I can’t get it to work. When I load the page, the form doesn’t show up at all, and is not in the source.
I have the form in a separate template embedded into my main page. Here is the code for that template. Can someone please advise?
<div id="emailModal" class="jqmWindow">
<h3><a href="#">Close Window</a></h3>
<p>{exp:weblog:entries weblog="default_site" limit="1" disable="member_data|pagination|trackbacks"}</p>
<p>{exp:email:tell_a_friend allow_html='n'}<br />
<fieldset><br />
<label for="to">To email:</label><br />
<input type="text" id="to" name="to" /><br />
<label for="name">Your name:</label><br />
<input type="text" id="name" name="name" /><br />
<label for="from">Your email:</label><br />
<input type="text" id="from" name="from" /><br />
<input type="text" id="subject" name="subject" value="Subject" /><br />
<textarea name="message" readonly="readonly">{body}</textarea><br />
<input type="submit" id="modalSubmit" name="modalSubmit" value="Submit" /><br />
</fieldset><br />
{/exp:email:tell_a_friend}<br />
{/exp:weblog:entries}<br />
</div><!--end emailModal-->EDIT: Running 1.6.8 build 20100121