My blog.php is setup as follows ...
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?
- 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?