Hi
I have been following the tutorial and have become stuck at the start of the second part of the blog tutorial.
I have placed the blog_list.html file in the snippets folder as instructed in the tutorial. Secondly I have embedded the blog_list.html in the else statement as seen:
The blog.php works perfectly.
Coming to the blog_html page I have entered
The problem I am having is that it doesn't print 'Hi, I am a page' like it does in the tutorial, or print the page title or content. As shown in attached image.
Any help would be great. Great CMS by the way
I have been following the tutorial and have become stuck at the start of the second part of the blog tutorial.
I have placed the blog_list.html file in the snippets folder as instructed in the tutorial. Secondly I have embedded the blog_list.html in the else statement as seen:
- Code: Select all
<cms:else />
<cms:embed 'blog_list.html' />
</cms:if>
<?php COUCH::invoke(); ?>
The blog.php works perfectly.
Coming to the blog_html page I have entered
- Code: Select all
<cms:pages masterpage='blog.php' >
<h1>Hi, I am a page</h1>
My title is <b><cms:show k_page_title /></b>
<p>
<cms:show news_content /> <!-- content named differently to tutorial -->
</cms:pages>
The problem I am having is that it doesn't print 'Hi, I am a page' like it does in the tutorial, or print the page title or content. As shown in attached image.
Any help would be great. Great CMS by the way
