Hi everyone.
I have spent the better half of my day trying to figure out what I am doing wrong here. I have the tutorial text over and over again but am stuck. I have trying to set up a blog according to the tutorial but I can not get the first post to show. Please take a look at my code and see if there is anything I am missing. I have cleaned up the code to only show the important stuff. I know my code is correct so I just included the relevant tags. Thank you in advance!
I have spent the better half of my day trying to figure out what I am doing wrong here. I have the tutorial text over and over again but am stuck. I have trying to set up a blog according to the tutorial but I can not get the first post to show. Please take a look at my code and see if there is anything I am missing. I have cleaned up the code to only show the important stuff. I know my code is correct so I just included the relevant tags. Thank you in advance!
- Code: Select all
<?php require_once('couch/cms.php'); ?>
<cms:template title='Blog' clonable='1' commentable='1'>
<cms:editable name='blog_content' type='richtext' />
<cms:editable name='blog_image' crop='1' width='600' height='200' type='image' />
</cms:template>
<!doctype html>
<html lang="en">
<head>
</head>
<body>
<!--START BLOG CONTENT-->
<div class="container padding">
<img src="<cms:show blog_image />" />
<cms:show blog_content />
</div>
<!--END BLOG CONTENT-->
</body>
</html>
<?php COUCH::invoke(); ?>