Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hi guys, I'm new to couch and I have a question about the blog tutorail on the couch site.

I'm trying to make a blog like page (instead of blog posts it will have news posts).
But when I make my template clonable it doensn't work anymore.

When I try to view my page from couch it sends me to a page my-blog-entry.html instead of blog.php?=2 as they mention in the tutorial.

I'm using couch on top of the twitter-bootstrap framework.

Code: Select all
<cms:template title="Nieuws test" clonable="1">

   <cms:editable name="nieuws_content" type="textarea" label="Nieuws content" />

   <cms:editable name="nieuws_image" type="image"
      crop="1"
      width="141"
      height="98"
      show_preview="1"
   />

</cms:template>


Code: Select all
<div class="container">

        <div class="row nieuwsmarge nieuwscontent">
                  <div class="col-sm-9">   
                   <p><cms:show nieuws_content /></p>
         </div>

         <div class="col-sm-3 nieuwsfoto">
                    <cms:if nieuws_image>
                    <img src="<cms:show nieuws_image />" />
                    </cms:if>
                  </div>
      </div>
</div>
Hi and welcome :)
it sends me to a page my-blog-entry.html instead of blog.php?=2
That happens when we use prettyURLs.

Please check your couch/config.php file. Make sure the following setting is 0 -
Code: Select all
define( 'K_PRETTY_URLS', 0);

Hope this helps.
2 posts Page 1 of 1