I can’t figure out why I can’t pull in the {body} here.. it’s just blank.
My template:
{exp:channel:entries channel="blog" limit="10"}
<h3><a href="http://{title_permalink=">{title}</a></h3>
<p>{body}</p>
<p><div class="date">Posted on {entry_date format="%M %d, %Y - %h:%i %A"}</div></p>
<p>{exp:comment:form channel="blog" preview="channel/preview"}<br />
<br />
{if logged_out}<br />
<label for="name">Name:</label> <input type="text" name="name" value="{name}" size="50" /><br > <br />
<label for="email">Email:</label> <input type="text" name="email" value="{email}" size="50" /><br > <br />
<label for="location">Location:</label> <input type="text" name="location" value="{location}" size="50" /><br > <br />
<label for="url">URL:</label> <input type="text" name="url" value="{url}" size="50" /><br > <br />
{/if}<br />
<br />
<label for="comment">Comment:</label><br />
<br />
<textarea name="comment" cols="70" rows="10">{comment}</textarea><br />
<label><input type="checkbox" name="save_info" value="yes" {save_info} /> Remember my personal information</label><br />
<br />
<label><input type="checkbox" name="notify_me" value="yes" {notify_me} /> Notify me of follow-up comments?</label><br />
<br />
<br />
{if captcha}<br />
<label for="captcha">Please enter the word you see in the image below:</label><br />
<br />
{captcha}</p>
<p> <input type="text" name="captcha" value="{captcha_word}" maxlength="20" /></p><br />
{/if}<br />
<br />
<input type="submit" name="submit" value="Submit" /><br />
<input type="submit" name="preview" value="Preview" /><br />
<br />
{/exp:comment:form}</p>
<p>{/exp:channel:entries}Title comes through, date comes through, body is not. ???
Basically I’m just trying to get a simple /blog/ page, that’ll show the title, body, date, number of comments.. and let the link be clickable so they can go see the comments on it. Should be easy.. wish I hadn’t blown away the sample data, and I can’t seem to find any other sample EE blog code on the web, though I’m sure virtually everyone is doing something like I just described.
Little help please? Still learning my way around EE, obviously. 😊