I am trying to add a submission form to my blog entries. I have version 1.6.1. I am following the directions in the 1.x User Guide, but no matter what I do, I get a blank screen when I preview my template.
I’ve tried adding the code to a new template and also to my existing entry page, but nothing.
I am using this code:
{exp:comment:form weblog="news" preview="weblog/preview"}
{if logged_out}
Name: <input type="text" name="name" value="{name}" size="50" /></p>
Email: <input type="text" name="email" value="{email}" size="50" /></p>
Location: <input type="text" name="location" value="{location}" size="50" /></p>
URL: <input type="text" name="url" value="{url}" size="50" /></p>
{/if}
<textarea name="comment" cols="70" rows="10">{comment}</textarea></p>
<input type="checkbox" name="save_info" value="yes" {save_info} /> Remember my personal information
<input type="checkbox" name="notify_me" value="yes" {notify_me} /> Notify me of follow-up comments?
{if captcha}
Please enter the word you see in the image below:
{captcha}
<input type="text" name="captcha" value="{captcha_word}" maxlength="20" /></p>
{/if}
<input type="submit" name="submit" value="Submit" />
<input type="submit" name="preview" value="Preview" />
{/exp:comment:form}Changing the weblog name to mine but I am not sure what else I need to change or if I need to put this somewhere different. I assume it needs to be linked somehow to each individual entry but it isn’t clear in the instructions how to do this. I tried adding
entry_id="{entry_id}"but this didn’t change anything. Any point in the right direction would be helpful.
Thank you!