====== Blog Posts ======

===== Creating posts =====

Starting from yoursite.com/admin:

{{:add_post.jpg|}}

===== Blog Post Fields =====

Many of the blog post fields work the same as [[working_with_pages|content pages]], including //Title//, //Slug//, //Meta description//, and //Meta keywords//. The //Body// field [[content_wysiwyg|works like content fields elsewhere]].

In addition, there are a few new fields specific to blogs posts:
  * //Status// - //Published// or //Draft//, where draft posts don't show up until you change their status to //Published//. Useful for working on a post, then saving your progress, then finishing it up and publishing it later.
  * //Publish// - This is when the post is set to go live. From here you have the option to future-date your posts so they go live at a later date/time. To ensure the post goes live upon save, click "Today" and "Now" which will set to post at the current date/time.
  * //Allow comments//
  * //Nofollow comments// - Tick this checkbox if you don't want search engines like Google indexing any links in the comments. This makes comment spam useless, but diminishes some commenters' motivation.
  * //Page title// - Leave this field blank unless you want the page title to be something other than the post title.
  * //Categories// - Blog posts can be placed in zero or more categories. In this sense, categories work like tags because a post can be in multiple categories.

{{:select_category.jpg|}}

After all of the fields are filled out to your satisfaction, click the //Save// button at the bottom of the page.

===== Expanding the Categories Field =====

Some of our customers have a large number of categories and need a larger field to select them.  To enlarge the categories, we made a bookmarklet.

Drag the following link to your bookmarks bar.  When you are editing a blog post, you can click on the link and it will expand the categories field for you.

<html>
<a href="javascript:django.jQuery('#id_categories').width(500).height(1000)">Expand Categories</a>
</html>

===== Finding posts =====

Starting from yoursite.com/admin:

{{:edit_posts.jpg|}}

{{:find_posts.jpg|}}
  - Searching: type some terms into the search box and click //Go//
  - Filter by publication date
  - Filter by status (//Published// or //Draft//)
  - Click a column header to sort by it, click again to toggle between ascending and descending order

===== Deleting posts =====

To delete a blog post, first find the blog post in question, then scroll to the bottom and click the //Delete// link to the left of the //Save// button.