Hello everyone,
I am new to Couch and I'm glad I found this excellent CMS.
I have been following the tutorial to get an existing site compatible with Couch but I've run into a hitch that I can't come out. I've been at this for 2 days now and believe it's time I sought expert help/guidance.
I'm stuck in the part that has to do with getting a page to list the blog entries. I named my blog post news-post.php and it works, I can read details of news on that page, but when I use that as the name of the masterpage within the index.php it gives this error:
ERROR: Tag "pages": masterpage 'news-post.php' not found
I have tried renaming it blog, just to see but nothing works. Here's the code I used in the index.php page as found in the tutorial:
I did use this in the news-post.php page:
I'll deeply appreciate any help offered. Thank you!
I am new to Couch and I'm glad I found this excellent CMS.
I have been following the tutorial to get an existing site compatible with Couch but I've run into a hitch that I can't come out. I've been at this for 2 days now and believe it's time I sought expert help/guidance.
I'm stuck in the part that has to do with getting a page to list the blog entries. I named my blog post news-post.php and it works, I can read details of news on that page, but when I use that as the name of the masterpage within the index.php it gives this error:
ERROR: Tag "pages": masterpage 'news-post.php' not found
I have tried renaming it blog, just to see but nothing works. Here's the code I used in the index.php page as found in the tutorial:
- Code: Select all
<cms:pages masterpage='news-post.php'
folder=k_folder_name
start_on=k_archive_date
stop_before=k_next_archive_date
paginate='1'
limit='5' >
I did use this in the news-post.php page:
- Code: Select all
<?php require_once( '../coeus/cms.php' ); ?>
<cms:template title='News Posts' clonable='1'>
<cms:editable name='news_summary' type='text' />
<cms:editable name='news_content' type='richtext' />
<cms:editable name='news_image'
crop='1'
width='920'
height='444'
type='image'
/>
<cms:folder name="news" title="News" />
<cms:folder name="speech" title="Speech" />
</cms:template>
<cms:if k_is_page >
I'll deeply appreciate any help offered. Thank you!