Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
Hi everyone, I am a web design student and came across the CMS couch app . I am currently following the tutorial but came across an issue. I not sure why it is not working. Im trying to view the details blog list view but cannot even get the <h1> to show on the blog.php page.

Any help would really be great!

:::::::::::::I am at this part of the tutorial:::::::
Access http://www.mytestsite.com/blog.php and you'll see 'Hi! You are seeing the list-view' greeting you.
Of course, you'll want to do something more useful than this in this view.
Listing out all the pages that have been cloned from blog.php here is not a bad idea.
Remember the blog_list.html (the original blog.html showing a list of blog entries that we had renamed to blog_list.html)?
We'll display this in the list-view.

Embedding snippets
Couch has a very powerful feature that allows us to keep chunks of HTML code (along with any Couch tags that might be within them) in separate files as snippets, and then use these snippets anywhere using the Couch embed tag.

We'll use the embed tag to display blog_list.html in the list-view.
Move blog_list.html into the snippets folder found within the couch folder (this is not mandatory, but files kept in this folder are kept safe from being accessed directly by the .htaccess file present within the folder and hence is desirable).
See embed tag for snippets folder customization instructions.
Now replace the silly message we were displaying in list-view with the following embed tag -



Access http://www.mytestsite.com/blog.php once again and you should see the contents of blog_list.html being displayed.
Hi @robertisin,

You are likely missing some step but it'd be difficult to say which one going by your description alone.

If your site happens to be online, please get me FTP/Couch access to it and I can take a look at it for you.
2 posts Page 1 of 1
cron