Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Hello, I am following the documentation tutorial for creating a blog. Everything has been working perfectly so far, however, when I try to create categories I am running into an issue.

My page code is as follows:
<cms:template title='blogpost' clonable='1'>
<cms:editable name='blog_content' type='richtext' />

<cms:editable name='blog_image'
width='870'
height='480'
type='image'
/>

<cms:folder name="events" Title="Events" />
<cms:folder name="hiking" Title="Hiking" />
<cms:folder name="photography" Title="Photography" />
<cms:folder name="tech" Title="Tech" />
<cms:folder name="other" Title="Other" />

</cms:template>


I have the folders set up as you can see in the code, however, this is what I see in the admin panel.
example1.png
example1.png (30.04 KiB) Viewed 975 times


I can select from the dropdown, but it is just 5 blank entries. If i assign one of these blank entries to a blog post, and then use the k_page_foldertitle output, it just displays nothing, a blank. Can anyone explain what is going on here?
Hi,

That is happening because the correct parameter is 'title' (with a lowercase 't').
Please amend your code to make it as follows -
Code: Select all
<cms:folder name="events" title="Events" />
<cms:folder name="hiking" title="Hiking" />
<cms:folder name="photography" title="Photography" />
<cms:folder name="tech" title="Tech" />
<cms:folder name="other" title="Other" />

Visit the template as super-admin and that should resolve the issue.

As an aside, you probably would find using 'dynamic folders' easier than the static ones - http://docs.couchcms.com/miscellaneous/ ... lders.html. Please try using them.

Hope it helps.
This solved my problems! Thanks!
3 posts Page 1 of 1