Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
I have an index.html page and I have a section that is supposed to show 2 of my latest blog news. I tried using the <cms:pages masterpage='single-blog.php'>
.....................
</cms:pages>

But its not working. I want to know how I can list blog items on any other page apart from the blog list-view page. I need help with this.
Yes, you can list pages of any Couch managed template on any other Couch managed template.

The key here is 'Couch managed'. From your description, it seems you are trying to list pages on 'index.html', which I think is a plain HTML file and not a Couch managed template.

As explained in our tutorial, please change index.html file's extension to '.php', add the two mandatory PHP lines in it and then register it as Couch template by visiting it as super-admin. Once you can see the template listed in your admin-panel's sidebar, you may use any Couch tags in it - including the <cms:pages> tag for fetching pages from your blog template.

Hope this helps.
Thanx KK. It worked and I learned something new.
3 posts Page 1 of 1