Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
My blog.php is setup as follows ...

Code: Select all
<cms:template title='Blog' clonable='1' commentable='1'>
  <cms:editable name='blog_content' label='Blog Content' type='textarea' no_xss_check='1' />
  <cms:editable name='blog_image' label='Blog Image' type='image' crop='1' width='610' height='150' />
</cms:template>
<cms:if k_is_page >
  <cms:show blog_content />
<cms:else />
  <cms:pages>
    <h1><cms:show k_page_title /></h1>
  </cms:pages>
</cms:if>


I am able to create and delete blog posts, but if I delete the post that is displayed in italics (the default post), then a new post gets created as "Default page for blog.php * PLEASE CHANGE THIS TITLE *" - even if there are other posts in the list.

Can I prevent default pages from being created?
Every template requires a 'default' page (this has something to do with Couch's internals). If you happen to delete it, Couch will recreate it.
You can either -
1. Rename the default page (as its title suggests) and use it as one of your cloned pages or
2. Unpublish it from the 'advanced' menu. This way it will not appear in any of the listings on your site (although it will still appear in the admin-panel).
2 posts Page 1 of 1