I’m working on a Contact page, and I have my generic page template setup and working great for all my other pages (About, Previews, etc.), and data is being pulled from my “Pages” weblog entires just as expected.
BUT—I’m unable to get my contact form to work. Here’s a snippet from the Content field of the weblog entry for my Contact page:
<p>If you have any questions, comments, gripes or kudos, please don't hesitate to email using the form below.</p>
<br />
{exp:email:contact_form user_recipients="false" recipients="maury@site.com" charset="utf-8"}
<p><label for="from">Your name:</label><br />
<input type="text" id="name" name="name" size="40" maxlength="35" value="{member_name}" /></p>
<p><label for="from">Your email:</label><br />
<input type="text" id="from" name="from" size="40" maxlength="35" value="{member_email}" /></p>
<p><label for="subject">Subject:</label><br />
<input type="text" id="subject" name="subject" size="40" value="" /></p>
<p><label for="message">Message:</label><br />
<textarea id="message" name="message" rows="18" cols="60"></textarea></p>
<p><input name="submit" type='submit' value='Send Message' /></p>
{/exp:email:contact_form}
My “Pages” template grabs my data here:
{exp:weblog:entries weblog="{my_weblog}"}
<h1>{title}</h1>
{content}
{/exp:weblog:entries}
All my pages work except for the Contact page, which renders the EE tags as though they’re regular text—and I’ve made sure the weblog entry is set to No Formatting.
What am I doing wrong?
